- patch for autohide bug #2949425
authorTomasz Pala <gotar@pld-linux.org>
Mon, 30 May 2011 22:20:26 +0000 (22:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    icewm-autohide.patch -> 1.1
    icewm.spec -> 1.216

icewm-autohide.patch [new file with mode: 0644]
icewm.spec

diff --git a/icewm-autohide.patch b/icewm-autohide.patch
new file mode 100644 (file)
index 0000000..5a3e90b
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urp icewm-1.3.7/src/wmtaskbar.cc icewm-1.3.7a/src/wmtaskbar.cc
+--- icewm-1.3.7/src/wmtaskbar.cc       2010-10-31 15:09:36.000000000 +0100
++++ icewm-1.3.7a/src/wmtaskbar.cc      2011-05-31 00:05:52.000000000 +0200
+@@ -902,7 +902,7 @@ void TaskBar::handleCrossing(const XCros
+         if (crossing.type == EnterNotify /* && crossing.mode != NotifyNormal */) {
+             fEdgeTrigger->stopHide();
+         } else if (crossing.type == LeaveNotify /* && crossing.mode != NotifyNormal */) {
+-            if (crossing.detail != NotifyInferior && crossing.detail != NotifyVirtual && crossing.detail != NotifyAncestor) {
++            if (crossing.detail != NotifyInferior && !(crossing.detail == NotifyVirtual && crossing.mode == NotifyGrab) && !(crossing.detail == NotifyAncestor && crossing.mode != NotifyNormal)) {
+                 MSG(("taskbar hide: %d", crossing.detail));
+                 fEdgeTrigger->startHide();
+             } else {
index 55e2d9d96c16a91fe4b94d5535a9eb077bf165e4..05d06e176ad1cf5016a8a2e42efb559d3d6db32b 100644 (file)
@@ -36,6 +36,7 @@ Patch1:               %{name}-tray_hotfixes.patch
 Patch2:                %{name}-fix_input_focus_loss_for_deiconified_frame_1.patch
 Patch3:                %{name}-ifstate-exact-check.patch
 Patch4:                %{name}-imap-unseen.patch
+Patch5:                %{name}-autohide.patch
 URL:           http://www.icewm.org/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -138,6 +139,7 @@ nice2, warp3, warp4, win95.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 cd lib/icons
 tar -xzf %{SOURCE3}
This page took 0.046463 seconds and 4 git commands to generate.