forked from AuroraMiddleware/gtk
Only apply clip_region shape for viewable windows
This fixes a problem where the clip region is not yet calculated
This commit is contained in:
parent
7cbb573ca9
commit
ed2c837574
@ -1579,6 +1579,7 @@ gdk_window_ensure_native (GdkWindow *window)
|
||||
|
||||
/* The shape may not have been set, as the clip region doesn't actually
|
||||
change, so do it here manually */
|
||||
if (private->viewable)
|
||||
GDK_WINDOW_IMPL_GET_IFACE (private->impl)->shape_combine_region ((GdkWindow *)private, private->clip_region, 0, 0);
|
||||
|
||||
reparent_to_impl (private);
|
||||
|
Loading…
Reference in New Issue
Block a user