GNOME Bugzilla – Bug 339383
Centering of the cursor
Last modified: 2006-04-28 16:58:24 UTC
The cursors centers, at startup, in the middle of the screen resolution and not in the middle of the first screen. So, with dual head, I need to move the cursor of the mouse into the first screen before log in. May be the cursor should be centered in the middle of the first screen (the screen where gdm is showed)
Thanks for the bug report. I'd accept a patch to fix this annoying problem.
Yes, sure. Do you have any idea which file should I read ?
Probably the gdm_wm_center_window function in gui/gdmwm.c. May also be worthwhile to look over bug 327530.
Hum, it seems to don't be the correct function because we can't move the gtk window or else we'll have the gdmlogin on the two screens. May be it's an X bug to put the cursor at the "right place"
Since this only happens in Xinerama mode, gdm probably needs some extra code to know where the cursor is located in this mode. Probably not an Xserver bug, just that GDM isn't really being smart about where to place the cursor in this situation, I think.
*** This bug has been marked as a duplicate of 327530 ***