altTab: Don't refuse to work when a pointer grab is in place

Allow push_modal to optionally only work with a keyboard only grab and
use that in altTab as a fallback to allow switching windows while a pointer grab
is in effect (like during DND operations).

https://bugzilla.gnome.org/show_bug.cgi?id=660457
This commit is contained in:
Adel Gadllah
2011-10-21 09:12:17 +02:00
parent 2b140f8fb7
commit f4d8a35b9d
4 changed files with 17 additions and 9 deletions

View File

@ -39,7 +39,8 @@ guint32 shell_global_get_current_time (ShellGlobal *global);
/* Input/event handling */
gboolean shell_global_begin_modal (ShellGlobal *global,
guint32 timestamp);
guint32 timestamp,
MetaModalOptions options);
void shell_global_end_modal (ShellGlobal *global,
guint32 timestamp);