diff options
author | ZenWalker <[email protected]> | 2017-07-29 02:10:08 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2017-07-29 02:10:08 +0200 |
commit | ed1a6302c87c6070bbec549ec36c5b56c12a6564 (patch) | |
tree | 1e5042d3a0e8159065360af12d9f9467d6f5f134 /src/core | |
parent | c3ab92182c2a97d74c5b8cbd6dade9b48fab5c95 (diff) | |
download | marco-ed1a6302c87c6070bbec549ec36c5b56c12a6564.tar.bz2 marco-ed1a6302c87c6070bbec549ec36c5b56c12a6564.tar.xz |
avoid deprecated gdk_display_get_screen
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/frame.c | 3 | ||||
-rw-r--r-- | src/core/screen.c | 4 |
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) { |