summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/frame.c3
-rw-r--r--src/core/screen.c4
2 files changed, 2 insertions, 5 deletions
diff --git a/src/core/frame.c b/src/core/frame.c
index cabfefcd..17d1bdff 100644
--- a/src/core/frame.c
+++ b/src/core/frame.c
@@ -104,8 +104,7 @@ meta_window_ensure_frame (MetaWindow *window)
frame->rect.x,
frame->rect.y,
frame->rect.width,
- frame->rect.height,
- frame->window->screen->number);
+ frame->rect.height);
meta_verbose ("Frame for %s is 0x%lx\n", frame->window->desc, frame->xwindow);
attrs.event_mask = EVENT_MASK;
diff --git a/src/core/screen.c b/src/core/screen.c
index 98ecf4db..28d2febf 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -1399,7 +1399,6 @@ meta_screen_ensure_tab_popup (MetaScreen *screen,
}
screen->tab_popup = meta_ui_tab_popup_new (entries,
- screen->number,
len,
5, /* FIXME */
border);
@@ -1471,7 +1470,6 @@ meta_screen_ensure_workspace_popup (MetaScreen *screen)
}
screen->tab_popup = meta_ui_tab_popup_new (entries,
- screen->number,
len,
layout.cols,
BORDER_OUTLINE_WORKSPACE);
@@ -1492,7 +1490,7 @@ meta_screen_tile_preview_update_timeout (gpointer data)
screen->tile_preview_timeout_id = 0;
if (!screen->tile_preview)
- screen->tile_preview = meta_tile_preview_new (screen->number);
+ screen->tile_preview = meta_tile_preview_new ();
if (window)
{