forked from AuroraMiddleware/gtk
gdk: Fix shaped toplevels
We need to apply the shape for toplevels that have a shape. https://bugzilla.gnome.org/show_bug.cgi?id=702831
This commit is contained in:
parent
970edd7e25
commit
09a975a765
@ -812,8 +812,9 @@ should_apply_clip_as_shape (GdkWindow *window)
|
||||
gdk_window_has_impl (window) &&
|
||||
/* Not for offscreens */
|
||||
!gdk_window_is_offscreen (window) &&
|
||||
/* or for toplevels */
|
||||
!gdk_window_is_toplevel (window) &&
|
||||
/* or for non-shaped toplevels */
|
||||
(!gdk_window_is_toplevel (window) ||
|
||||
window->shape != NULL || window->applied_shape) &&
|
||||
/* or for foreign windows */
|
||||
window->window_type != GDK_WINDOW_FOREIGN &&
|
||||
/* or for the root window */
|
||||
|
Loading…
Reference in New Issue
Block a user