summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQue Quotion2018-09-18 15:12:29 +0900
committerQue Quotion2018-09-18 15:12:29 +0900
commitc98ac939282f17c07588c6c7465db1c127deacf3 (patch)
tree41d60f2f786bf23275e976cf26011fa04e0bfdeb
parenteda51b1fb93ecf8564bfd01672ccb69c8c2570b3 (diff)
downloadaur-c98ac939282f17c07588c6c7465db1c127deacf3.tar.gz
Treat fullscreen and maximized as the same thing.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--autohide.patch5
3 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d7eea2cf11e..93fec63398f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -52,7 +52,7 @@ pkgbase = wingpanel-standalone-git
sha256sums = 7f972d79b4d72f7b274a96e1a5150cba0e3869ad85215ae01ad2bc19802cdbb9
sha256sums = 20ec1d51a6610bf0105c772e4d1d4ac8f35ea0ee33b066981db57dc19fe3bdc6
sha256sums = b1902c1d44ac546df63cd0224a7d2ef2cb6394ca556512c30c370d387db7bbab
- sha256sums = b3fee5c6afdc5dcf4cc6150b24483984943ed6becdc15493a9aeb6c5d353f877
+ sha256sums = 1ee7757d67eb0fb3f67a036152c599390383985bc2d1b573b605c3eed437a02e
sha256sums = 53bfa2220d14065ca848c36217abe812685c7d6e0d42251423d0faa2a0ac5394
pkgname = wingpanel-standalone-git
diff --git a/PKGBUILD b/PKGBUILD
index faace53be47..53b70d36a57 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,7 +34,7 @@ sha256sums=('SKIP'
'7f972d79b4d72f7b274a96e1a5150cba0e3869ad85215ae01ad2bc19802cdbb9'
'20ec1d51a6610bf0105c772e4d1d4ac8f35ea0ee33b066981db57dc19fe3bdc6'
'b1902c1d44ac546df63cd0224a7d2ef2cb6394ca556512c30c370d387db7bbab'
- 'b3fee5c6afdc5dcf4cc6150b24483984943ed6becdc15493a9aeb6c5d353f877'
+ '1ee7757d67eb0fb3f67a036152c599390383985bc2d1b573b605c3eed437a02e'
'53bfa2220d14065ca848c36217abe812685c7d6e0d42251423d0faa2a0ac5394')
pkgver() {
diff --git a/autohide.patch b/autohide.patch
index 74587a3e0f8..c4f11d0af7f 100644
--- a/autohide.patch
+++ b/autohide.patch
@@ -98,7 +98,7 @@ index c48b5ea..81ec2f2 100644
return true;
}
-@@ -91,7 +115,173 @@ public class Wingpanel.PanelWindow : Gtk.Window {
+@@ -91,7 +115,174 @@ public class Wingpanel.PanelWindow : Gtk.Window {
Services.BackgroundManager.initialize (this.monitor_number, panel_height);
@@ -197,7 +197,8 @@ index c48b5ea..81ec2f2 100644
+
+ private bool is_maximized_at_all (Wnck.Window window) {
+ return (window.is_maximized_horizontally ()
-+ || window.is_maximized_vertically ());
++ || window.is_maximized_vertically ()
++ || window.is_fullscreen ());
+ }
+
+ private bool hide_panel () {