compositor: Remove meta_check_end_modal

"This is used when reloading plugins"

Yeah, no.
This commit is contained in:
Jasper St. Pierre 2014-03-18 17:11:44 -04:00
parent 8b2b65246a
commit 9ba49358e5
2 changed files with 0 additions and 21 deletions

View File

@ -70,6 +70,4 @@ void meta_end_modal_for_plugin (MetaScreen *screen,
gint64 meta_compositor_monotonic_time_to_server_time (MetaDisplay *display, gint64 meta_compositor_monotonic_time_to_server_time (MetaDisplay *display,
gint64 monotonic_time); gint64 monotonic_time);
void meta_check_end_modal (MetaScreen *screen);
#endif /* META_COMPOSITOR_PRIVATE_H */ #endif /* META_COMPOSITOR_PRIVATE_H */

View File

@ -497,25 +497,6 @@ meta_end_modal_for_plugin (MetaScreen *screen,
compositor->modal_plugin = NULL; compositor->modal_plugin = NULL;
} }
/* This is used when reloading plugins to make sure we don't have
* a left-over modal grab for this screen.
*/
void
meta_check_end_modal (MetaScreen *screen)
{
MetaDisplay *display = meta_screen_get_display (screen);
MetaCompositor *compositor = display->compositor;
if (compositor->modal_plugin &&
meta_plugin_get_screen (compositor->modal_plugin) == screen)
{
meta_end_modal_for_plugin (screen,
compositor->modal_plugin,
CurrentTime);
}
}
static void static void
after_stage_paint (ClutterStage *stage, after_stage_paint (ClutterStage *stage,
gpointer data) gpointer data)