From 5f54adae7bc4edaf2c18383efe13ded233255509 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Fri, 16 Jun 2023 00:05:28 +1200 Subject: feat: Uses a backup config file and respects XDG Uses config files in the order of `$XDG_CONFIG_HOME/YATwm/config`, `$HOME/.config/YATwm/config`, then `/etc/YATwm/config` --- util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util.h') diff --git a/util.h b/util.h index bc3cc6a..bdc45d8 100644 --- a/util.h +++ b/util.h @@ -11,6 +11,6 @@ std::vector split (const std::string &s, char delim); struct Globals { - Display* dpy; - Window root; + Display*& dpy; + Window& root; }; -- cgit v1.2.3