[Bug 28712] gdm loses focus when mouse pointer is outside window (when initially started)
Tollef Fog Heen
tfheen at canonical.com
Tue Mar 14 12:18:04 UTC 2006
Public bug report changed:
https://launchpad.net/malone/bugs/28712
Comment:
* Marius Gedminas
| Public bug report changed:
| https://launchpad.net/malone/bugs/28712
|
| Comment:
| This looks like a duplicate of #5951.
Indeed.
--- gdm-2.13.0.9/gui/greeter/greeter.c 2006-02-17 02:08:55.000000000 +0100
+++ gdm-2.13.0.9.xinerama/gui/greeter/greeter.c 2006-03-14 13:15:40.000000000 +0100
@@ -1344,7 +1347,7 @@
/* Run the focus, note that this will work no matter what
* since gdm_wm_init will set the display to the gdk one
* if it fails */
- gdm_wm_focus_window (GDK_WINDOW_XWINDOW (window->window));
+ gdm_wm_focus_new_windows (TRUE);
}
if G_UNLIKELY (session_dir_whacked_out)
is a patch which fixes this problem for me and doesn't appear to have
other effects.
The reason why gdm_wm_focus_window can't be used is the window is not
mapped yet, so trying to focus it will fail. I'm unsure why it's not
mapped, though.
--
Tollef Fog Heen ,''`.
UNIX is user friendly, it's just picky about who its friends are : :' :
`. `'
`-
More information about the desktop-bugs
mailing list