Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package guake for openSUSE:Factory checked in at 2021-06-21 20:36:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/guake (Old) and /work/SRC/openSUSE:Factory/.guake.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "guake" Mon Jun 21 20:36:02 2021 rev:13 rq:901167 version:3.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/guake/guake.changes 2021-06-09 21:52:20.750479420 +0200 +++ /work/SRC/openSUSE:Factory/.guake.new.2625/guake.changes 2021-06-21 20:36:28.930684561 +0200 @@ -1,0 +2,7 @@ +Fri Jun 18 11:49:25 UTC 2021 - Atri Bhattacharya <[email protected]> + +- Add guake-follow-focus-with-dual-monitors.patch: Fix issue where + guake follows mouse focus when have 2 monitors + [gh#Guake/guake#1775, gh#Guake/guake#1761, boo#1187177]. + +------------------------------------------------------------------- New: ---- guake-follow-focus-with-dual-monitors.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ guake.spec ++++++ --- /var/tmp/diff_new_pack.RzHAw7/_old 2021-06-21 20:36:29.546685342 +0200 +++ /var/tmp/diff_new_pack.RzHAw7/_new 2021-06-21 20:36:29.550685348 +0200 @@ -24,6 +24,8 @@ Group: System/X11/Terminals URL: http://guake-project.org/ Source: https://github.com/Guake/guake/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM guake-follow-focus-with-dual-monitors.patch gh#Guake/guake#1775,gh#Guake/guake#1761,boo#1187177 [email protected] -- Fix issue where guake follows mouse focus when have 2 monitors +Patch0: guake-follow-focus-with-dual-monitors.patch BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: gettext-tools @@ -53,7 +55,7 @@ Guake is a dropdown terminal made for the GNOME desktop environment. %prep -%setup -q +%autosetup -p1 %build make %{?_smp_mflags} ++++++ guake-follow-focus-with-dual-monitors.patch ++++++ >From c77c42530ba55d6a0f7f5b1321de06418516dbb6 Mon Sep 17 00:00:00 2001 From: woodpenker <[email protected]> Date: Mon, 22 Jun 2020 16:04:00 +0800 Subject: [PATCH 1/2] fix: #1761 guake follows mouse focus when have 2 monitors --- guake/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guake/utils.py b/guake/utils.py index db0845ff..bcf87701 100644 --- a/guake/utils.py +++ b/guake/utils.py @@ -169,7 +169,7 @@ def set_window_state(self, window_state): if not window_state & Gdk.WindowState.WITHDRAWN: if self.is_fullscreen(): self.fullscreen() - else: + elif window_state & Gdk.WindowState.FOCUSED: self.unfullscreen() def fullscreen(self): >From 4288a7a5ff1bd9240ebe4b2e2ead6c8780d75b74 Mon Sep 17 00:00:00 2001 From: woodpenker <[email protected]> Date: Wed, 2 Sep 2020 23:06:50 +0800 Subject: [PATCH 2/2] fix: #1761 update to avoid switch when last window minimized. --- guake/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guake/utils.py b/guake/utils.py index bcf87701..f02f641f 100644 --- a/guake/utils.py +++ b/guake/utils.py @@ -169,7 +169,7 @@ def set_window_state(self, window_state): if not window_state & Gdk.WindowState.WITHDRAWN: if self.is_fullscreen(): self.fullscreen() - elif window_state & Gdk.WindowState.FOCUSED: + elif window_state & Gdk.WindowState.FOCUSED and self.guake.hidden: self.unfullscreen() def fullscreen(self):
