diff options
author | Martin Wimpress <[email protected]> | 2015-06-10 18:22:32 +0100 |
---|---|---|
committer | Martin Wimpress <[email protected]> | 2015-06-10 18:22:32 +0100 |
commit | 6c5d2c56bccfd9c681e9a5bbeeafe815b93bb8f8 (patch) | |
tree | f854888dad5ccd4a0c0afe51013fa9a17f682d06 /src/ui/tile-preview.c | |
parent | 7770b75d007a8c303aa7bd4bdae439cc3b00d269 (diff) | |
parent | cd1c4c3b1e0e28129f1a2c938e50d08b40b9d284 (diff) | |
download | marco-6c5d2c56bccfd9c681e9a5bbeeafe815b93bb8f8.tar.bz2 marco-6c5d2c56bccfd9c681e9a5bbeeafe815b93bb8f8.tar.xz |
Merge pull request #164 from dnk/tile_preview_glitch
tile preview: invalidate window before showing
Diffstat (limited to 'src/ui/tile-preview.c')
-rw-r--r-- | src/ui/tile-preview.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/tile-preview.c b/src/ui/tile-preview.c index ee58600d..c938317b 100644 --- a/src/ui/tile-preview.c +++ b/src/ui/tile-preview.c @@ -264,7 +264,6 @@ meta_tile_preview_show (MetaTilePreview *preview, && preview->tile_rect.height == tile_rect->height) return; /* nothing to do */ - gtk_widget_show (preview->preview_window); window = gtk_widget_get_window (preview->preview_window); #if GTK_CHECK_VERSION (3, 0, 0) meta_core_lower_beneath_focus_window (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), @@ -280,6 +279,8 @@ meta_tile_preview_show (MetaTilePreview *preview, gdk_window_invalidate_rect (window, &old_rect, FALSE); + gtk_widget_show (preview->preview_window); + preview->tile_rect = *tile_rect; gdk_window_move_resize (window, |