From 547fe8d0fa4524f96f8a70b989a4275fa9cd05a9 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Fri, 29 Nov 2024 12:47:52 -0800 Subject: [PATCH] fixing compile errors --- dwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwm.c b/dwm.c index 6a6fb1c..6c15e25 100644 --- a/dwm.c +++ b/dwm.c @@ -266,7 +266,7 @@ static void (*handler[LASTEvent]) (XEvent *) = { [PropertyNotify] = propertynotify, [UnmapNotify] = unmapnotify }; -static Atom wmatom[WMLast], netatom[NetLast]; +static Atom wmatom[WMLast], netatom[NetLast], xatom[XLast]; static int running = 1; static Cur *cursor[CurLast]; static Clr **scheme; @@ -1181,7 +1181,7 @@ void maprequest(XEvent *e) { static XWindowAttributes wa; - XMapRequestEvent *ev = &e->xaprequest; + XMapRequestEvent *ev = &e->xmaprequest; if (!XGetWindowAttributes(dpy, ev->window, &wa) || wa.override_redirect) return;