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
This commit is contained in:
Florian Müllner 2011-01-19 16:41:16 +01:00
parent 57e8ce0d42
commit 58068260a5
2 changed files with 2 additions and 1 deletions

View File

@ -438,6 +438,7 @@ void meta_window_unmanage (MetaWindow *window,
void meta_window_calc_showing (MetaWindow *window);
void meta_window_queue (MetaWindow *window,
guint queuebits);
void meta_window_tile (MetaWindow *window);
void meta_window_maximize_internal (MetaWindow *window,
MetaMaximizeFlags directions,
MetaRectangle *saved_rect);

View File

@ -3184,7 +3184,7 @@ meta_window_is_fullscreen (MetaWindow *window)
return window->fullscreen;
}
static void
void
meta_window_tile (MetaWindow *window)
{
MetaMaximizeFlags directions;