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:
@ -864,11 +864,11 @@ _shell_global_get_gjs_context (ShellGlobal *global)
|
||||
* was previouly called.
|
||||
*/
|
||||
gboolean
|
||||
shell_global_begin_modal (ShellGlobal *global,
|
||||
guint32 timestamp)
|
||||
shell_global_begin_modal (ShellGlobal *global,
|
||||
guint32 timestamp,
|
||||
MetaModalOptions options)
|
||||
{
|
||||
return meta_plugin_begin_modal (global->plugin, global->stage_xwindow,
|
||||
None, 0, timestamp);
|
||||
return meta_plugin_begin_modal (global->plugin, global->stage_xwindow, None, options, timestamp);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user