summaryrefslogtreecommitdiff
path: root/gtk/window-decorator/decorator.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/window-decorator/decorator.c')
-rw-r--r--gtk/window-decorator/decorator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/window-decorator/decorator.c b/gtk/window-decorator/decorator.c
index 19d41f4..96dbd17 100644
--- a/gtk/window-decorator/decorator.c
+++ b/gtk/window-decorator/decorator.c
@@ -469,7 +469,7 @@ int
update_shadow (void)
{
decor_shadow_options_t opt;
- Display *xdisplay = gdk_display;
+ Display *xdisplay = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
GdkDisplay *display = gdk_display_get_default ();
GdkScreen *screen = gdk_display_get_default_screen (display);