Revert "wayland: Make popups work more than once"

This reverts commit e74c655016.
This commit is contained in:
Matthias Clasen 2019-05-19 16:50:49 +00:00
parent 2c9a1f8b6c
commit 54530334f4

View File

@ -2514,16 +2514,12 @@ gdk_wayland_surface_map (GdkSurface *surface)
impl->mapped = TRUE;
}
static void gdk_wayland_surface_destroy_surface (GdkSurface *surface);
static void
gdk_wayland_surface_show (GdkSurface *surface,
gboolean already_mapped)
{
GdkSurfaceImplWayland *impl = GDK_SURFACE_IMPL_WAYLAND (surface->impl);
gdk_wayland_surface_destroy_surface (surface);
if (!impl->display_server.wl_surface)
gdk_wayland_surface_create_surface (surface);