diff --git a/debian/changelog b/debian/changelog index e442c33a..2471dca8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +safeeyes (3.2.0) noble; urgency=medium + + * Fixed XFCE multi-screen bug (thanks to @deltragon) + + -- Archisman Panigrahi Thu, 02 Oct 2025 02:25:38 +0000 + safeeyes (3.1.0) noble; urgency=medium * Ensure compatibility with older Wayland diff --git a/pyproject.toml b/pyproject.toml index d17b740f..29b16eb7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "safeeyes" -version = "3.1.0" +version = "3.2.0" description = "Protect your eyes from eye strain using this continuous breaks reminder." license = {text = "GPL-3.0-or-later"} keywords = ["linux utility health eye-strain safe-eyes"] @@ -30,7 +30,7 @@ requires-python = ">=3.10" [project.urls] Homepage = "https://github.com/slgobinath/SafeEyes" -Downloads = "https://github.com/slgobinath/SafeEyes/archive/v3.1.0.tar.gz" +Downloads = "https://github.com/slgobinath/SafeEyes/archive/v3.2.0.tar.gz" [project.scripts] safeeyes = "safeeyes.__main__:main" diff --git a/safeeyes/glade/about_dialog.glade b/safeeyes/glade/about_dialog.glade index b8888c30..5a5e3c8f 100644 --- a/safeeyes/glade/about_dialog.glade +++ b/safeeyes/glade/about_dialog.glade @@ -64,7 +64,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.center 10 10 - Safe Eyes 3.1.0 + Safe Eyes 3.2.0 center 1 1 diff --git a/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml b/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml index 9bec243f..ff6d6f4a 100644 --- a/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml +++ b/safeeyes/platform/io.github.slgobinath.SafeEyes.metainfo.xml @@ -53,6 +53,7 @@ https://slgobinath.github.io/SafeEyes/ + diff --git a/safeeyes/ui/break_screen.py b/safeeyes/ui/break_screen.py index 91a401bc..4ae40d78 100644 --- a/safeeyes/ui/break_screen.py +++ b/safeeyes/ui/break_screen.py @@ -201,9 +201,14 @@ def __show_break_screen( # Fix flickering screen in KDE by setting opacity to 1 window.set_opacity(0.9) - window.fullscreen_on_monitor(monitor) window.present() + # Apparently this needs to run after present() (as of GTK 4.20) + # On Wayland, either work seems to work fine + # On X11, calling this before present() always fullscreens only on the + # focused monitor regardless + window.fullscreen_on_monitor(monitor) + # this ensures that none of the buttons is in focus immediately # otherwise, pressing space presses that button instead of triggering the # shortcut