summaryrefslogtreecommitdiff
path: root/gtk/window-decorator/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/window-decorator/util.c')
-rw-r--r--gtk/window-decorator/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/window-decorator/util.c b/gtk/window-decorator/util.c
index 322c792..7e78703 100644
--- a/gtk/window-decorator/util.c
+++ b/gtk/window-decorator/util.c
@@ -30,7 +30,7 @@ get_window_prop (Window xwindow,
gdk_error_trap_push ();
type = None;
- result = XGetWindowProperty (gdk_display,
+ result = XGetWindowProperty (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
xwindow,
atom,
0, G_MAXLONG,