summaryrefslogtreecommitdiff
path: root/src/core/window-private.h
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2017-09-27 15:11:54 +0200
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2017-10-03 19:38:31 -0300
commitc7fa57cd28a84c853560db4c2ec3b1d2987c8275 (patch)
tree330f2ae72456ea1644977a85ac7e5d42829998b0 /src/core/window-private.h
parent8f2c86d79ead48d8096ca9bd1215ea2f1734fb89 (diff)
downloadmutter-c7fa57cd28a84c853560db4c2ec3b1d2987c8275.tar.gz
window: Pass mode as parameter to tile() operation
Now that the preview tile mode has been split from the window's tile_mode property, it is much more natural to pass the requested tile_mode to the tile() function instead of setting it externally and calling the function to apply the state.
Diffstat (limited to 'src/core/window-private.h')
-rw-r--r--src/core/window-private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/window-private.h b/src/core/window-private.h
index d50beae8b..443bcf4d8 100644
--- a/src/core/window-private.h
+++ b/src/core/window-private.h
@@ -577,7 +577,8 @@ void meta_window_unmanage (MetaWindow *window,
guint32 timestamp);
void meta_window_queue (MetaWindow *window,
guint queuebits);
-void meta_window_tile (MetaWindow *window);
+void meta_window_tile (MetaWindow *window,
+ MetaTileMode mode);
void meta_window_maximize_internal (MetaWindow *window,
MetaMaximizeFlags directions,
MetaRectangle *saved_rect);