[mutter] window: Queue a frame redraw after tiling
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window: Queue a frame redraw after tiling
- Date: Tue, 13 Dec 2011 13:41:45 +0000 (UTC)
commit 4ca552785feb93209474b37cb833ecb9b098aa97
Author: Florian MÃllner <fmuellner gnome org>
Date: Mon Dec 5 21:45:26 2011 +0100
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
src/core/window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 8d62672..40365d9 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -3581,6 +3581,10 @@ meta_window_tile (MetaWindow *window)
window,
&old_rect,
&new_rect);
+
+ if (window->frame)
+ meta_ui_queue_frame_draw (window->screen->ui,
+ window->frame->xwindow);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]