forked from AuroraMiddleware/gtk
Ensure native window if composite requested
This commit is contained in:
parent
a9ca08f6eb
commit
191e8d1587
@ -6200,6 +6200,9 @@ gdk_window_set_composited (GdkWindow *window,
|
||||
if (private->composited == composited)
|
||||
return;
|
||||
|
||||
if (composited)
|
||||
gdk_window_set_has_native (window, TRUE);
|
||||
|
||||
display = gdk_drawable_get_display (GDK_DRAWABLE (window));
|
||||
|
||||
if (!gdk_display_supports_composite (display) && composited)
|
||||
|
Loading…
Reference in New Issue
Block a user