[mutter/wayland] compositor: Remove meta_check_end_modal
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] compositor: Remove meta_check_end_modal
- Date: Tue, 18 Mar 2014 22:26:18 +0000 (UTC)
commit 9ba49358e50af93ff9e59d1ef88700750106f115
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Mar 18 17:11:44 2014 -0400
compositor: Remove meta_check_end_modal
"This is used when reloading plugins"
Yeah, no.
src/compositor/compositor-private.h | 2 --
src/compositor/compositor.c | 19 -------------------
2 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/src/compositor/compositor-private.h b/src/compositor/compositor-private.h
index 18bcff6..55f5017 100644
--- a/src/compositor/compositor-private.h
+++ b/src/compositor/compositor-private.h
@@ -70,6 +70,4 @@ void meta_end_modal_for_plugin (MetaScreen *screen,
gint64 meta_compositor_monotonic_time_to_server_time (MetaDisplay *display,
gint64 monotonic_time);
-void meta_check_end_modal (MetaScreen *screen);
-
#endif /* META_COMPOSITOR_PRIVATE_H */
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index fdbf6d6..305d8cb 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -497,25 +497,6 @@ meta_end_modal_for_plugin (MetaScreen *screen,
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
after_stage_paint (ClutterStage *stage,
gpointer data)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]