From 6eb15547c8e97d433fef1acc349ad41ea2a18849 Mon Sep 17 00:00:00 2001 From: butterkeks Date: Tue, 10 Sep 2024 16:47:23 +0200 Subject: [PATCH] Fix wrong X11 compile definition --- src/platformdep/windowtitle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platformdep/windowtitle.c b/src/platformdep/windowtitle.c index 3a70222..79ac72f 100644 --- a/src/platformdep/windowtitle.c +++ b/src/platformdep/windowtitle.c @@ -1,4 +1,4 @@ -#ifdef HAVEX11 // for window title +#ifdef HAVE_X11 // for window title #include #include #endif @@ -9,7 +9,7 @@ #include s8 get_windowname(void) { -#ifdef HAVEX11 +#ifdef HAVE_X11 Display *dpy = XOpenDisplay(NULL); if (!dpy) { dbg("Can't open X display for retrieving the window title. Are you "