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
This commit is contained in:
Florian Müllner 2011-12-05 21:52:54 +01:00
parent c3d76aead6
commit baeb9fbc4b
2 changed files with 2 additions and 1 deletions

View File

@ -653,5 +653,6 @@ void meta_window_propagate_focus_appearance (MetaWindow *window,
gboolean focused); gboolean focused);
gboolean meta_window_should_attach_to_parent (MetaWindow *window); gboolean meta_window_should_attach_to_parent (MetaWindow *window);
gboolean meta_window_can_tile_side_by_side (MetaWindow *window);
#endif #endif

View File

@ -3603,7 +3603,7 @@ meta_window_can_tile_maximized (MetaWindow *window)
return window->has_maximize_func; return window->has_maximize_func;
} }
static gboolean gboolean
meta_window_can_tile_side_by_side (MetaWindow *window) meta_window_can_tile_side_by_side (MetaWindow *window)
{ {
const MetaMonitorInfo *monitor; const MetaMonitorInfo *monitor;