[metacity] compositor: remove meta_compositor_set_active_window
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] compositor: remove meta_compositor_set_active_window
- Date: Sun, 12 Mar 2017 19:37:19 +0000 (UTC)
commit a0f8ba12f1251476674e7dad91b3799cf90da87a
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Mar 12 20:52:38 2017 +0200
compositor: remove meta_compositor_set_active_window
src/compositor/meta-compositor-none.c | 7 -------
src/compositor/meta-compositor-private.h | 3 ---
src/compositor/meta-compositor-vulkan.c | 7 -------
src/compositor/meta-compositor-xrender.c | 7 -------
src/compositor/meta-compositor.c | 11 -----------
src/core/display.c | 1 -
src/include/meta-compositor.h | 3 ---
7 files changed, 0 insertions(+), 39 deletions(-)
---
diff --git a/src/compositor/meta-compositor-none.c b/src/compositor/meta-compositor-none.c
index 294d6fe..282a261 100644
--- a/src/compositor/meta-compositor-none.c
+++ b/src/compositor/meta-compositor-none.c
@@ -93,12 +93,6 @@ meta_compositor_none_get_window_surface (MetaCompositor *compositor,
}
static void
-meta_compositor_none_set_active_window (MetaCompositor *compositor,
- MetaWindow *window)
-{
-}
-
-static void
meta_compositor_none_maximize_window (MetaCompositor *compositor,
MetaWindow *window)
{
@@ -140,7 +134,6 @@ meta_compositor_none_class_init (MetaCompositorNoneClass *none_class)
compositor_class->set_updates_frozen = meta_compositor_none_set_updates_frozen;
compositor_class->process_event = meta_compositor_none_process_event;
compositor_class->get_window_surface = meta_compositor_none_get_window_surface;
- compositor_class->set_active_window = meta_compositor_none_set_active_window;
compositor_class->maximize_window = meta_compositor_none_maximize_window;
compositor_class->unmaximize_window = meta_compositor_none_unmaximize_window;
compositor_class->sync_stack = meta_compositor_none_sync_stack;
diff --git a/src/compositor/meta-compositor-private.h b/src/compositor/meta-compositor-private.h
index feef60f..eec2fc2 100644
--- a/src/compositor/meta-compositor-private.h
+++ b/src/compositor/meta-compositor-private.h
@@ -61,9 +61,6 @@ struct _MetaCompositorClass
cairo_surface_t * (* get_window_surface) (MetaCompositor *compositor,
MetaWindow *window);
- void (* set_active_window) (MetaCompositor *compositor,
- MetaWindow *window);
-
void (* maximize_window) (MetaCompositor *compositor,
MetaWindow *window);
diff --git a/src/compositor/meta-compositor-vulkan.c b/src/compositor/meta-compositor-vulkan.c
index 39e954d..34c6514 100644
--- a/src/compositor/meta-compositor-vulkan.c
+++ b/src/compositor/meta-compositor-vulkan.c
@@ -587,12 +587,6 @@ meta_compositor_vulkan_get_window_surface (MetaCompositor *compositor,
}
static void
-meta_compositor_vulkan_set_active_window (MetaCompositor *compositor,
- MetaWindow *window)
-{
-}
-
-static void
meta_compositor_vulkan_maximize_window (MetaCompositor *compositor,
MetaWindow *window)
{
@@ -638,7 +632,6 @@ meta_compositor_vulkan_class_init (MetaCompositorVulkanClass *vulkan_class)
compositor_class->set_updates_frozen = meta_compositor_vulkan_set_updates_frozen;
compositor_class->process_event = meta_compositor_vulkan_process_event;
compositor_class->get_window_surface = meta_compositor_vulkan_get_window_surface;
- compositor_class->set_active_window = meta_compositor_vulkan_set_active_window;
compositor_class->maximize_window = meta_compositor_vulkan_maximize_window;
compositor_class->unmaximize_window = meta_compositor_vulkan_unmaximize_window;
compositor_class->sync_stack = meta_compositor_vulkan_sync_stack;
diff --git a/src/compositor/meta-compositor-xrender.c b/src/compositor/meta-compositor-xrender.c
index 24466ac..49c6206 100644
--- a/src/compositor/meta-compositor-xrender.c
+++ b/src/compositor/meta-compositor-xrender.c
@@ -3104,12 +3104,6 @@ meta_compositor_xrender_get_window_surface (MetaCompositor *compositor,
}
static void
-meta_compositor_xrender_set_active_window (MetaCompositor *compositor,
- MetaWindow *window)
-{
-}
-
-static void
meta_compositor_xrender_maximize_window (MetaCompositor *compositor,
MetaWindow *window)
{
@@ -3217,7 +3211,6 @@ meta_compositor_xrender_class_init (MetaCompositorXRenderClass *xrender_class)
compositor_class->set_updates_frozen = meta_compositor_xrender_set_updates_frozen;
compositor_class->process_event = meta_compositor_xrender_process_event;
compositor_class->get_window_surface = meta_compositor_xrender_get_window_surface;
- compositor_class->set_active_window = meta_compositor_xrender_set_active_window;
compositor_class->maximize_window = meta_compositor_xrender_maximize_window;
compositor_class->unmaximize_window = meta_compositor_xrender_unmaximize_window;
compositor_class->sync_stack = meta_compositor_xrender_sync_stack;
diff --git a/src/compositor/meta-compositor.c b/src/compositor/meta-compositor.c
index 3c89340..d64bf8e 100644
--- a/src/compositor/meta-compositor.c
+++ b/src/compositor/meta-compositor.c
@@ -319,17 +319,6 @@ meta_compositor_get_window_surface (MetaCompositor *compositor,
}
void
-meta_compositor_set_active_window (MetaCompositor *compositor,
- MetaWindow *window)
-{
- MetaCompositorClass *compositor_class;
-
- compositor_class = META_COMPOSITOR_GET_CLASS (compositor);
-
- compositor_class->set_active_window (compositor, window);
-}
-
-void
meta_compositor_maximize_window (MetaCompositor *compositor,
MetaWindow *window)
{
diff --git a/src/core/display.c b/src/core/display.c
index 7003d88..efe996f 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -1511,7 +1511,6 @@ update_focus_window (MetaDisplay *display,
else
meta_topic (META_DEBUG_FOCUS, "* Focus --> NULL with serial %lu\n", serial);
- meta_compositor_set_active_window (display->compositor, window);
meta_display_update_active_window_hint (display);
}
diff --git a/src/include/meta-compositor.h b/src/include/meta-compositor.h
index 4b8f114..aa7ea0a 100644
--- a/src/include/meta-compositor.h
+++ b/src/include/meta-compositor.h
@@ -81,9 +81,6 @@ void meta_compositor_process_event (MetaCompositor *com
cairo_surface_t *meta_compositor_get_window_surface (MetaCompositor *compositor,
MetaWindow *window);
-void meta_compositor_set_active_window (MetaCompositor *compositor,
- MetaWindow *window);
-
void meta_compositor_maximize_window (MetaCompositor *compositor,
MetaWindow *window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]