Commit deffc9e3 authored by Benjamin Otte's avatar Benjamin Otte
Browse files

API: x11: Change GDK_WINDOW_XDISPLAY() macro

Instead of lots of magic, we can go the usual way of requesting the
XDisplay of the window's display. So we do that.
parent cf51750b
......@@ -176,7 +176,7 @@ gint gdk_x11_get_default_screen (void);
#define GDK_DISPLAY_XDISPLAY(display) (gdk_x11_display_get_xdisplay (display))
#define GDK_WINDOW_XDISPLAY(win) (gdk_x11_drawable_get_xdisplay (gdk_x11_window_get_drawable_impl (win)))
#define GDK_WINDOW_XDISPLAY(win) (GDK_DISPLAY_XDISPLAY (gdk_window_get_display (win)))
/**
* GDK_WINDOW_XID:
......
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