From 6ba0e218938077c0ab2c4a4bf92492bcf7c58812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Mon, 15 Jul 2019 17:47:01 +0200 Subject: [PATCH] layersurface: Use phosh_wayland_get_default() everywhere MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes it consistent with _mapped() Signed-off-by: Guido Günther --- src/layersurface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layersurface.c b/src/layersurface.c index 4b64cfdce..c92e2652b 100644 --- a/src/layersurface.c +++ b/src/layersurface.c @@ -185,7 +185,7 @@ on_phosh_layer_surface_realized (PhoshLayerSurface *self, gpointer unused) gdk_window = gtk_widget_get_window (GTK_WIDGET (self)); gdk_wayland_window_set_use_custom_surface (gdk_window); - wl_display_roundtrip (gdk_wayland_display_get_wl_display (gdk_display_get_default ())); + phosh_wayland_roundtrip (phosh_wayland_get_default()); priv->wl_surface = gdk_wayland_window_get_wl_surface (gdk_window); -- GitLab