summaryrefslogtreecommitdiff
path: root/src/compositor/compositor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/compositor.c')
-rw-r--r--src/compositor/compositor.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index ab6427e7..d23fe3f7 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -157,3 +157,23 @@ void meta_compositor_free_window (MetaCompositor *compositor,
MetaWindow *window)
{
}
+
+void
+meta_compositor_maximize_window (MetaCompositor *compositor,
+ MetaWindow *window)
+{
+#ifdef HAVE_COMPOSITE_EXTENSIONS
+ if (compositor && compositor->maximize_window)
+ compositor->maximize_window (compositor, window);
+#endif
+}
+
+void
+meta_compositor_unmaximize_window (MetaCompositor *compositor,
+ MetaWindow *window)
+{
+#ifdef HAVE_COMPOSITE_EXTENSIONS
+ if (compositor && compositor->unmaximize_window)
+ compositor->unmaximize_window (compositor, window);
+#endif
+}