ShellGlobal: update for Mutter API changes

meta_plugin_begin_modal() was simplified to always grab on the
stage, which is what we want.

https://bugzilla.gnome.org/show_bug.cgi?id=705917
This commit is contained in:
Giovanni Campagna 2013-08-13 16:43:23 +02:00
parent fdc0832506
commit f7c3cf5d78

View File

@ -1003,7 +1003,7 @@ shell_global_begin_modal (ShellGlobal *global,
if (global->has_modal) if (global->has_modal)
return FALSE; return FALSE;
global->has_modal = meta_plugin_begin_modal (global->plugin, global->stage_xwindow, None, options, timestamp); global->has_modal = meta_plugin_begin_modal (global->plugin, options, timestamp);
sync_input_region (global); sync_input_region (global);
return global->has_modal; return global->has_modal;
} }