Commit 58068260 authored by Florian Müllner's avatar Florian Müllner
Browse files

window: Make meta_window_tile() semi-public

The previous tiling state of a grabbed window should be restored
if the drag operation is cancelled (by hitting the Escape key).
This might involve to meta_window_tile(), so export the function
in window-private.h.

https://bugzilla.gnome.org/show_bug.cgi?id=639988
parent 57e8ce0d
...@@ -438,6 +438,7 @@ void meta_window_unmanage (MetaWindow *window, ...@@ -438,6 +438,7 @@ void meta_window_unmanage (MetaWindow *window,
void meta_window_calc_showing (MetaWindow *window); void meta_window_calc_showing (MetaWindow *window);
void meta_window_queue (MetaWindow *window, void meta_window_queue (MetaWindow *window,
guint queuebits); guint queuebits);
void meta_window_tile (MetaWindow *window);
void meta_window_maximize_internal (MetaWindow *window, void meta_window_maximize_internal (MetaWindow *window,
MetaMaximizeFlags directions, MetaMaximizeFlags directions,
MetaRectangle *saved_rect); MetaRectangle *saved_rect);
......
...@@ -3184,7 +3184,7 @@ meta_window_is_fullscreen (MetaWindow *window) ...@@ -3184,7 +3184,7 @@ meta_window_is_fullscreen (MetaWindow *window)
return window->fullscreen; return window->fullscreen;
} }
static void void
meta_window_tile (MetaWindow *window) meta_window_tile (MetaWindow *window)
{ {
MetaMaximizeFlags directions; MetaMaximizeFlags directions;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment