summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/screen.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/screen.c b/src/core/screen.c
index bd3667e8..6c555126 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -1475,14 +1475,12 @@ meta_screen_tile_preview_update_timeout (gpointer data)
{
MetaScreen *screen = data;
MetaWindow *window = screen->display->grab_window;
- gboolean composited = screen->display->compositor != NULL;
gboolean needs_preview = FALSE;
screen->tile_preview_timeout_id = 0;
if (!screen->tile_preview)
- screen->tile_preview = meta_tile_preview_new (screen->number,
- composited);
+ screen->tile_preview = meta_tile_preview_new (screen->number);
if (window)
{