mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
Yet another fix for shape handling
This should fix problems with awn and notify-osd.
This commit is contained in:
parent
b9516e70f5
commit
0efb24f589
@ -4610,10 +4610,7 @@ _xwindow_get_shape (Display *xdisplay,
|
||||
window,
|
||||
shape_type, &rn, &ord);
|
||||
|
||||
if (xrl == NULL)
|
||||
return NULL; /* XShape not supported */
|
||||
|
||||
if (rn == 0)
|
||||
if (xrl == NULL || rn == 0)
|
||||
return gdk_region_new (); /* Empty */
|
||||
|
||||
if (ord != YXBanded)
|
||||
|
Loading…
Reference in New Issue
Block a user