summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQue Quotion2018-09-19 19:03:05 +0900
committerQue Quotion2018-09-19 19:03:05 +0900
commitdd18de14570c04c236f2d0b5ab6c7460853f3eed (patch)
treee95ea26bac74299f0fbb48b0107c5b2742a16c18
parent0b17ae11bbbb15d6a407bda7002a3b8f3c817307 (diff)
downloadaur-dd18de14570c04c236f2d0b5ab6c7460853f3eed.tar.gz
A little fine tuning; fix stuck panel on unhide from first mouseover after dodge-hide
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--autohide.patch10
3 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0d9e773dc8f..516dc5c7a36 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -53,7 +53,7 @@ pkgbase = wingpanel-standalone-git
sha256sums = 7f972d79b4d72f7b274a96e1a5150cba0e3869ad85215ae01ad2bc19802cdbb9
sha256sums = 20ec1d51a6610bf0105c772e4d1d4ac8f35ea0ee33b066981db57dc19fe3bdc6
sha256sums = b1902c1d44ac546df63cd0224a7d2ef2cb6394ca556512c30c370d387db7bbab
- sha256sums = 33ab0e02839c31850437994d4f6a636890f758d78ebd592552b9372200669e96
+ sha256sums = 8b7176939354202e9cef2eff23432f214de82a3cb725dc6972ed7124dc22c3b2
sha256sums = 53bfa2220d14065ca848c36217abe812685c7d6e0d42251423d0faa2a0ac5394
pkgname = wingpanel-standalone-git
diff --git a/PKGBUILD b/PKGBUILD
index 1d36bc0950d..0c196f2065b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,7 +34,7 @@ sha256sums=('SKIP'
'7f972d79b4d72f7b274a96e1a5150cba0e3869ad85215ae01ad2bc19802cdbb9'
'20ec1d51a6610bf0105c772e4d1d4ac8f35ea0ee33b066981db57dc19fe3bdc6'
'b1902c1d44ac546df63cd0224a7d2ef2cb6394ca556512c30c370d387db7bbab'
- '33ab0e02839c31850437994d4f6a636890f758d78ebd592552b9372200669e96'
+ '8b7176939354202e9cef2eff23432f214de82a3cb725dc6972ed7124dc22c3b2'
'53bfa2220d14065ca848c36217abe812685c7d6e0d42251423d0faa2a0ac5394')
pkgver() {
diff --git a/autohide.patch b/autohide.patch
index f49e6cafe3d..7571c185020 100644
--- a/autohide.patch
+++ b/autohide.patch
@@ -163,7 +163,7 @@ index dddddf1..4efb6c0 100644
update_panel_dimensions ();
return true;
-@@ -91,7 +144,126 @@
+@@ -91,7 +144,128 @@
Services.BackgroundManager.initialize (this.monitor_number, panel_height);
@@ -198,6 +198,7 @@ index dddddf1..4efb6c0 100644
+
+ private void update_visibility_active_change (Wnck.Window? active_window) {
+ if (should_hide_active_change (active_window)) {
++ this.leave_notify_event.connect (hide_panel);
+ delay = false;
+ hide_panel ();
+ } else {
@@ -263,17 +264,17 @@ index dddddf1..4efb6c0 100644
+ case "Autohide":
+ case "Float":
+ delay = true;
-+ hide_panel ();
+ wnck_screen.active_window_changed.disconnect (active_window_changed);
+ wnck_screen.active_workspace_changed.disconnect (active_workspace_changed);
+ wnck_screen.viewports_changed.disconnect (viewports_changed);
++ hide_panel ();
+ break;
+ case "Dodge":
+ case "Dodge-Float":
+ delay = false;
+ if (!should_hide_active_change (wnck_screen.get_active_window())) {
-+ show_panel ();
+ this.leave_notify_event.disconnect (hide_panel);
++ show_panel ();
+ } else {
+ hide_panel ();
+ }
@@ -282,10 +283,11 @@ index dddddf1..4efb6c0 100644
+ wnck_screen.viewports_changed.connect (viewports_changed);
+ break;
+ default:
-+ show_panel ();
++ this.leave_notify_event.disconnect (hide_panel);
+ wnck_screen.active_window_changed.disconnect (active_window_changed);
+ wnck_screen.active_workspace_changed.disconnect (active_workspace_changed);
+ wnck_screen.viewports_changed.disconnect (viewports_changed);
++ show_panel ();
+ break;
+ }
}