From 4ec71da9a94c5ded73c4fff7e7ae1dfb4f966f48 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Tue, 26 Feb 2019 23:36:54 -0500 Subject: [PATCH] x11: using_global_dpy is not restricted to xrandr --- gfx/display_servers/dispserv_x11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx/display_servers/dispserv_x11.c b/gfx/display_servers/dispserv_x11.c index 92db63ae9c..0c1abd3a38 100644 --- a/gfx/display_servers/dispserv_x11.c +++ b/gfx/display_servers/dispserv_x11.c @@ -47,9 +47,10 @@ static char orig_output[256] = {0}; static char old_mode[256] = {0}; static char new_mode[256] = {0}; static XRRModeInfo crt_rrmode; -static bool x11_display_server_using_global_dpy = false; #endif +static bool x11_display_server_using_global_dpy = false; + typedef struct { unsigned opacity;