Stop using MetaScreen where it is unnecessary

https://bugzilla.gnome.org/show_bug.cgi?id=759538
This commit is contained in:
Armin Krezović
2017-08-26 21:43:17 +02:00
committed by Jonas Ådahl
parent b7c3dada81
commit 1d5e37050d
38 changed files with 187 additions and 366 deletions

View File

@@ -594,7 +594,6 @@ meta_window_wayland_new (MetaDisplay *display,
MetaWaylandSurface *surface)
{
XWindowAttributes attrs = { 0 };
MetaScreen *scr = display->screen;
MetaWindow *window;
/*
@@ -620,7 +619,6 @@ meta_window_wayland_new (MetaDisplay *display,
*/
window = _meta_window_shared_new (display,
scr,
META_WINDOW_CLIENT_TYPE_WAYLAND,
surface,
None,