Commit 5f127305 authored by Benjamin Otte's avatar Benjamin Otte
Browse files

x11: Get display from window, not from impl-drawable's screen

parent cfa67127
......@@ -5467,7 +5467,7 @@ _gdk_windowing_window_set_composited (GdkWindow *window,
impl = GDK_WINDOW_IMPL_X11 (private->impl);
display = gdk_screen_get_display (GDK_DRAWABLE_IMPL_X11 (impl)->screen);
display = gdk_window_get_display (window);
dpy = GDK_DISPLAY_XDISPLAY (display);
xid = GDK_WINDOW_XWINDOW (private);
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