forked from AuroraMiddleware/gtk
Revert "wayland: Make popups work more than once"
This reverts commit e74c655016
.
This commit is contained in:
parent
2c9a1f8b6c
commit
54530334f4
@ -2514,16 +2514,12 @@ gdk_wayland_surface_map (GdkSurface *surface)
|
|||||||
impl->mapped = TRUE;
|
impl->mapped = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gdk_wayland_surface_destroy_surface (GdkSurface *surface);
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gdk_wayland_surface_show (GdkSurface *surface,
|
gdk_wayland_surface_show (GdkSurface *surface,
|
||||||
gboolean already_mapped)
|
gboolean already_mapped)
|
||||||
{
|
{
|
||||||
GdkSurfaceImplWayland *impl = GDK_SURFACE_IMPL_WAYLAND (surface->impl);
|
GdkSurfaceImplWayland *impl = GDK_SURFACE_IMPL_WAYLAND (surface->impl);
|
||||||
|
|
||||||
gdk_wayland_surface_destroy_surface (surface);
|
|
||||||
|
|
||||||
if (!impl->display_server.wl_surface)
|
if (!impl->display_server.wl_surface)
|
||||||
gdk_wayland_surface_create_surface (surface);
|
gdk_wayland_surface_create_surface (surface);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user