packages: icewm/icewm.spec, icewm/icewm-autohide.patch (NEW) - patch for au...

gotar gotar at pld-linux.org
Tue May 31 00:20:31 CEST 2011


Author: gotar                        Date: Mon May 30 22:20:31 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- patch for autohide bug #2949425

---- Files affected:
packages/icewm:
   icewm.spec (1.215 -> 1.216) , icewm-autohide.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/icewm/icewm.spec
diff -u packages/icewm/icewm.spec:1.215 packages/icewm/icewm.spec:1.216
--- packages/icewm/icewm.spec:1.215	Mon Apr 11 14:37:20 2011
+++ packages/icewm/icewm.spec	Tue May 31 00:20:26 2011
@@ -37,6 +37,7 @@
 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
@@ -139,6 +140,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 cd lib/icons
 tar -xzf %{SOURCE3}
@@ -226,6 +228,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.216  2011/05/30 22:20:26  gotar
+- patch for autohide bug #2949425
+
 Revision 1.215  2011/04/11 12:37:20  baggins
 - rel 2
 

================================================================
Index: packages/icewm/icewm-autohide.patch
diff -u /dev/null packages/icewm/icewm-autohide.patch:1.1
--- /dev/null	Tue May 31 00:20:31 2011
+++ packages/icewm/icewm-autohide.patch	Tue May 31 00:20:26 2011
@@ -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 {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/icewm/icewm.spec?r1=1.215&r2=1.216&f=u



More information about the pld-cvs-commit mailing list