mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Set bg none while changing so we don't draw the bg color
This commit is contained in:
parent
4e207a0336
commit
4d187531e4
@ -3377,6 +3377,9 @@ do_shape_combine_region (GdkWindow *window,
|
||||
0, 0,
|
||||
&xrects, &n_rects);
|
||||
|
||||
|
||||
_gdk_x11_window_tmp_unset_bg ((GdkWindow *)private->parent, TRUE);
|
||||
|
||||
XShapeCombineRectangles (GDK_WINDOW_XDISPLAY (window),
|
||||
GDK_WINDOW_XID (window),
|
||||
shape,
|
||||
@ -3385,6 +3388,8 @@ do_shape_combine_region (GdkWindow *window,
|
||||
ShapeSet,
|
||||
YXBanded);
|
||||
|
||||
_gdk_x11_window_tmp_reset_bg ((GdkWindow *)private->parent, TRUE);
|
||||
|
||||
g_free (xrects);
|
||||
}
|
||||
#endif /* HAVE_SHAPE_EXT */
|
||||
|
Loading…
Reference in New Issue
Block a user