[mutter] window: Make meta_window_can_tile_side_by_side() public
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window: Make meta_window_can_tile_side_by_side() public
- Date: Tue, 13 Dec 2011 13:42:00 +0000 (UTC)
commit baeb9fbc4b7441ce7ee59848b48ce8c0da92b4fc
Author: Florian MÃllner <fmuellner gnome org>
Date: Mon Dec 5 21:52:54 2011 +0100
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 deletions(-)
---
diff --git a/src/core/window-private.h b/src/core/window-private.h
index b05087b..049d9d8 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 6f1efc8..58e097c 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]