Skip to content

Commit

Permalink
Fix wrong X11 compile definition
Browse files Browse the repository at this point in the history
  • Loading branch information
btrkeks committed Sep 10, 2024
1 parent 8f7f575 commit 6eb1554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platformdep/windowtitle.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef HAVEX11 // for window title
#ifdef HAVE_X11 // for window title
#include <X11/Xatom.h>
#include <X11/Xlib.h>
#endif
Expand All @@ -9,7 +9,7 @@
#include <utils/str.h>

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 "
Expand Down

0 comments on commit 6eb1554

Please # to comment.