Author: kelnos
Date: 2007-10-01 19:05:51 +0000 (Mon, 01 Oct 2007)
New Revision: 26123
Modified:
xfdesktop/trunk/common/xfdesktop-common.c
Log:
keep trying to get a kbd/mouse grab 3x as long - fix problems people reporting
with the keyboard shortcuts not working. i think something got odd with gtk
2.12.
Modified: xfdesktop/trunk/common/xfdesktop-common.c
===================================================================
--- xfdesktop/trunk/common/xfdesktop-common.c 2007-10-01 18:55:51 UTC (rev
26122)
+++ xfdesktop/trunk/common/xfdesktop-common.c 2007-10-01 19:05:51 UTC (rev
26123)
@@ -245,7 +245,7 @@
g1 = gdk_pointer_grab (win, TRUE, mask, NULL, NULL, timestamp);
g2 = gdk_keyboard_grab (win, TRUE, timestamp);
- while ((i++ < 100) && (grab_failed = ((g1 != GDK_GRAB_SUCCESS)
+ while ((i++ < 300) && (grab_failed = ((g1 != GDK_GRAB_SUCCESS)
|| (g2 != GDK_GRAB_SUCCESS))))
{
TRACE ("grab not available yet, waiting... (%i)", i);
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits