Commit 4d187531 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Set bg none while changing so we don't draw the bg color

parent 4e207a03
......@@ -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),
......@@ -3385,6 +3388,8 @@ do_shape_combine_region (GdkWindow *window,
_gdk_x11_window_tmp_reset_bg ((GdkWindow *)private->parent, TRUE);
g_free (xrects);
#endif /* HAVE_SHAPE_EXT */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment