mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-05 02:11:08 +00:00
Don't include composited childen in window clip region, update region when setting composited
This commit is contained in:
parent
191e8d1587
commit
62a52f8fd3
@ -429,7 +429,7 @@ remove_child_area (GdkWindowObject *private,
|
|||||||
if (child == until)
|
if (child == until)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (!GDK_WINDOW_IS_MAPPED (child) || child->input_only)
|
if (!GDK_WINDOW_IS_MAPPED (child) || child->input_only || child->composited)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* Ignore offscreen children, as they don't draw in their parent and
|
/* Ignore offscreen children, as they don't draw in their parent and
|
||||||
@ -6214,6 +6214,8 @@ gdk_window_set_composited (GdkWindow *window,
|
|||||||
|
|
||||||
_gdk_windowing_window_set_composited (window, composited);
|
_gdk_windowing_window_set_composited (window, composited);
|
||||||
|
|
||||||
|
recompute_visible_regions (private, TRUE, FALSE);
|
||||||
|
|
||||||
private->composited = composited;
|
private->composited = composited;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user