From 448312594cf5343a77ad8df8803218f1dd000cd0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 20 Apr 2019 01:29:25 +0000 Subject: [PATCH] broadway: Stop using gdk_surface_new_temp This is in preparation for adding a proper popup surface type. --- gdk/broadway/gdksurface-broadway.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gdk/broadway/gdksurface-broadway.c b/gdk/broadway/gdksurface-broadway.c index 299c3bff1b..ba798084fe 100644 --- a/gdk/broadway/gdksurface-broadway.c +++ b/gdk/broadway/gdksurface-broadway.c @@ -215,7 +215,7 @@ connect_frame_clock (GdkSurface *surface) } void -_gdk_broadway_display_create_surface_impl (GdkDisplay *display, +_gdk_broadway_display_create_surface_impl (GdkDisplay *display, GdkSurface *surface, GdkSurface *real_parent, GdkSurfaceAttr *attributes) @@ -1080,10 +1080,11 @@ create_moveresize_surface (MoveResizeData *mv_resize, GdkGrabStatus status; GdkSeat *seat; GdkDevice *pointer; + GdkRectangle rect = { -100, -100, 1, 1 }; g_assert (mv_resize->moveresize_emulation_surface == NULL); - mv_resize->moveresize_emulation_surface = gdk_surface_new_temp (mv_resize->display); + mv_resize->moveresize_emulation_surface = gdk_surface_new_popup (mv_resize->display, &rect); gdk_surface_show (mv_resize->moveresize_emulation_surface);