summaryrefslogtreecommitdiff
path: root/src/core/screen.c
diff options
context:
space:
mode:
authorDenis Gorodnichev <[email protected]>2015-01-07 15:13:43 +0300
committerinfirit <[email protected]>2015-01-14 19:06:47 +0100
commitbe94f8e1788788920c7473ecefe2ee28526f8388 (patch)
treeb985efd7bff5c608bbd4251e4864f78261e1fcda /src/core/screen.c
parent3e695af4ef435949d9a1f13c6de17bb005406250 (diff)
downloadmarco-be94f8e1788788920c7473ecefe2ee28526f8388.tar.bz2
marco-be94f8e1788788920c7473ecefe2ee28526f8388.tar.xz
show tile preview with external compositor
Diffstat (limited to 'src/core/screen.c')
-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)
{