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