CVSROOT:        /cvs/gnome
Module name:    gnome-screensaver
Changes by:     mccann  06/02/13 15:21:53

Modified files:
        .              : ChangeLog 
        src            : gs-grab-x11.c gs-grab.h gs-manager.c 

Log message:
2006-02-13  William Jon McCann  <[EMAIL PROTECTED]>

* src/gs-manager.c (manager_maybe_grab_window)
(window_grab_broken_cb): If the grab is broken,
invalidate the saved grab window and try to grab back.
(window_map_cb): Use map signal instead of map_event signal
because the map_event was occurring after the show event.  When
this happens the theme is started before the window is grabbed.
If the theme does its own grab then we may not get ours.
(window_unmap_cb): Connect to unmap for debugging.

* src/gs-grab-x11.c (gs_grab_keyboard_reset, gs_grab_mouse_reset):
New functions to clear saved grab window when grab is broken.
(gs_grab_release_keyboard, gs_grab_release_mouse): Use new functions.
(gs_grab_move_mouse): Add extra check for broken grab.

Fixes #328404

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-screensaver&who=mccann&date=explicit&mindate=2006-02-13%2015:20&maxdate=2006-02-13%2015:22

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to