summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/tile-preview.c3
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,