bug-6822636.patch revision 930
258N/A--- greeter/Login.c-orig Tue Mar 23 22:11:38 2010
919N/A+++ greeter/Login.c Tue Mar 23 22:12:41 2010
258N/A@@ -766,20 +766,8 @@
258N/A }
919N/A RedrawFail (w);
919N/A XorCursor (w);
919N/A- /*
919N/A- * The GrabKeyboard here is needed only because of
919N/A- * a bug in the R3 server -- the keyboard is grabbed on
258N/A- * the root window, and the server won't dispatch events
919N/A- * to the focus window unless the focus window is a ancestor
919N/A- * of the grab window. Bug in server already found and fixed,
919N/A- * compatibility until at least R4.
258N/A- */
919N/A- if (XGrabKeyboard (XtDisplay (w), XtWindow (w), False, GrabModeAsync,
919N/A- GrabModeAsync, CurrentTime) != GrabSuccess)
919N/A- {
919N/A- XSetInputFocus (XtDisplay (w), XtWindow (w),
919N/A- RevertToPointerRoot, CurrentTime);
919N/A- }
919N/A+ XSetInputFocus (XtDisplay (w), XtWindow (w),
258N/A+ RevertToPointerRoot, CurrentTime);
258N/A }
258N/A
258N/A /* Returns 0 on success, -1 on failure */
258N/A