GNOME Bugzilla – Bug 559164
Don't trap errors around grab_key
Last modified: 2008-11-03 21:29:06 UTC
Such that we can do a single gdk_flush for multiple keys. The only downside is that we cannot write out in the warning which key is being accessed by another app. Not that we really care.
Created attachment 121897 [details] [review] The patch
Broken indentation in lots of places. Otherwise looks good.
Committed after indentation fix. 2008-11-03 Behdad Esfahbod <behdad@gnome.org> * plugins/common/gsd-keygrab.c (setup_modifiers), (grab_key_real), (grab_key_unsafe): * plugins/common/gsd-keygrab.h: * plugins/keybindings/gsd-keybindings-manager.c (binding_register_keys): * plugins/media-keys/gsd-media-keys-manager.c (update_kbd_cb), (init_kbd): Don't trap errors around grab_key (bug #559164) Such that we can do a single gdk_flush for multiple keys. The only downside is that we cannot write out in the warning which key is being accessed by another app. Not that we really care.