forked from AuroraMiddleware/gtk
Revert "wayland: fix filechooser crash"
This reverts commit bd033165e5
.
The function already had an early exit, no need for this check.
This commit is contained in:
parent
bd033165e5
commit
44e1c19b42
@ -1177,8 +1177,7 @@ gdk_wayland_window_sync_opaque_region (GdkWindow *window)
|
||||
wl_region = wl_region_from_cairo_region (GDK_WAYLAND_DISPLAY (gdk_window_get_display (window)),
|
||||
impl->opaque_region);
|
||||
|
||||
if (impl->display_server.wl_surface)
|
||||
wl_surface_set_opaque_region (impl->display_server.wl_surface, wl_region);
|
||||
wl_surface_set_opaque_region (impl->display_server.wl_surface, wl_region);
|
||||
|
||||
if (wl_region != NULL)
|
||||
wl_region_destroy (wl_region);
|
||||
|
Loading…
Reference in New Issue
Block a user