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:
parent
57e8ce0d42
commit
58068260a5
@ -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)
|
|||||||
return window->fullscreen;
|
return window->fullscreen;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
meta_window_tile (MetaWindow *window)
|
meta_window_tile (MetaWindow *window)
|
||||||
{
|
{
|
||||||
MetaMaximizeFlags directions;
|
MetaMaximizeFlags directions;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user