forked from AuroraMiddleware/gtk
Don't flicker when unsetting shape (using bg none)
This commit is contained in:
parent
9f3e348e32
commit
c31ef39d76
@ -3370,12 +3370,14 @@ do_shape_combine_region (GdkWindow *window,
|
||||
: gdk_display_supports_input_shapes (GDK_WINDOW_DISPLAY (window)))
|
||||
{
|
||||
private->shaped = FALSE;
|
||||
_gdk_x11_window_tmp_unset_bg ((GdkWindow *)private->parent, TRUE);
|
||||
XShapeCombineMask (GDK_WINDOW_XDISPLAY (window),
|
||||
GDK_WINDOW_XID (window),
|
||||
shape,
|
||||
0, 0,
|
||||
None,
|
||||
ShapeSet);
|
||||
_gdk_x11_window_tmp_reset_bg ((GdkWindow *)private->parent, TRUE);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user