window: Queue a frame redraw after tiling

Usually tiling involves a size change and the frame is redrawn
automatically, however this is not the case when switching directly
between left- and right-tiled.
Ensure that a redraw happens in that case as well.

https://bugzilla.gnome.org/show_bug.cgi?id=648700
This commit is contained in:
Florian Müllner 2011-12-05 21:45:26 +01:00
parent b26b11c74d
commit 4ca552785f

View File

@ -3581,6 +3581,10 @@ meta_window_tile (MetaWindow *window)
window, window,
&old_rect, &old_rect,
&new_rect); &new_rect);
if (window->frame)
meta_ui_queue_frame_draw (window->screen->ui,
window->frame->xwindow);
} }
else else
{ {