From baeb9fbc4b7441ce7ee59848b48ce8c0da92b4fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 5 Dec 2011 21:52:54 +0100 Subject: [PATCH] window: Make meta_window_can_tile_side_by_side() public In order to support keybindings for window tiling, we need to determine whether a window is tilable or not, so make this public. https://bugzilla.gnome.org/show_bug.cgi?id=648700 --- src/core/window-private.h | 1 + src/core/window.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/window-private.h b/src/core/window-private.h index b05087b44..049d9d864 100644 --- a/src/core/window-private.h +++ b/src/core/window-private.h @@ -653,5 +653,6 @@ void meta_window_propagate_focus_appearance (MetaWindow *window, gboolean focused); gboolean meta_window_should_attach_to_parent (MetaWindow *window); +gboolean meta_window_can_tile_side_by_side (MetaWindow *window); #endif diff --git a/src/core/window.c b/src/core/window.c index 6f1efc8b6..58e097cac 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -3603,7 +3603,7 @@ meta_window_can_tile_maximized (MetaWindow *window) return window->has_maximize_func; } -static gboolean +gboolean meta_window_can_tile_side_by_side (MetaWindow *window) { const MetaMonitorInfo *monitor;