forked from AuroraMiddleware/gtk
Free region also if its empty (we're taking ownership now)
This commit is contained in:
parent
c35e0e11da
commit
f0fb3f450f
@ -2558,7 +2558,10 @@ move_region_on_impl (GdkWindowObject *private,
|
||||
|
||||
if ((dx == 0 && dy == 0) ||
|
||||
gdk_region_empty (region))
|
||||
return;
|
||||
{
|
||||
gdk_region_destroy (region);
|
||||
return;
|
||||
}
|
||||
|
||||
impl_window = gdk_window_get_impl_window (private);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user