forked from mirror/dwm
fixing compile errors
This commit is contained in:
parent
88b6b06b7d
commit
547fe8d0fa
1 changed files with 2 additions and 2 deletions
4
dwm.c
4
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;
|
||||
|
|
Loading…
Reference in a new issue