mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
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:
parent
c3d76aead6
commit
baeb9fbc4b
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user