[Xfce4-commits] r22803 - xfwm4/trunk/src
Olivier Fourdan
olivier at xfce.org
Wed Aug 16 18:03:51 UTC 2006
Author: olivier
Date: 2006-08-16 18:03:50 +0000 (Wed, 16 Aug 2006)
New Revision: 22803
Modified:
xfwm4/trunk/src/events.c
Log:
Should be enough to make sure grabs are really released (Bug #2136, #2146, possibly others such as #2144, #2161)
Modified: xfwm4/trunk/src/events.c
===================================================================
--- xfwm4/trunk/src/events.c 2006-08-16 18:00:33 UTC (rev 22802)
+++ xfwm4/trunk/src/events.c 2006-08-16 18:03:50 UTC (rev 22803)
@@ -542,7 +542,7 @@
default:
break;
}
- XAllowEvents (display_info->dpy, SyncKeyboard, CurrentTime);
+ XAllowEvents (display_info->dpy, AsyncKeyboard, CurrentTime);
}
/* User has clicked on an edge or corner.
@@ -1610,7 +1610,7 @@
last_raised = NULL;
if (screen_info && (ev->window == screen_info->xroot) && (ev->mode == NotifyNormal) &&
- (ev->detail == NotifyDetailNone || ev->detail == NotifyInferior))
+ ((ev->detail == NotifyDetailNone) || (ev->detail == NotifyInferior)))
{
/* Handle focus transition to root (means that an unknown
window has vanished and the focus is returned to the root
More information about the Xfce4-commits
mailing list