resizing works again, windows are getting managed.
This commit is contained in:
parent
e65f4837ca
commit
d136cb337f
|
@ -18,7 +18,7 @@ LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0
|
||||||
# flags
|
# flags
|
||||||
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
||||||
#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
||||||
CFLAGS = -std=c99 -pedantic -Wall -Werror -O0 ${INCS} ${CPPFLAGS}
|
CFLAGS = -g -std=c99 -pedantic -Wall -Werror -O0 ${INCS} ${CPPFLAGS}
|
||||||
#LDFLAGS = -s ${LIBS}
|
#LDFLAGS = -s ${LIBS}
|
||||||
LDFLAGS = ${LIBS}
|
LDFLAGS = ${LIBS}
|
||||||
|
|
||||||
|
|
4
tabbed.c
4
tabbed.c
|
@ -325,7 +325,7 @@ focus(Client *c) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
XRaiseWindow(dpy, c->win);
|
XRaiseWindow(dpy, c->win);
|
||||||
XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
|
// XSetInputFocus(dpy, c->win, RevertToNone, CurrentTime);
|
||||||
XSelectInput(dpy, c->win, PropertyChangeMask|StructureNotifyMask);
|
XSelectInput(dpy, c->win, PropertyChangeMask|StructureNotifyMask);
|
||||||
sel = c;
|
sel = c;
|
||||||
XStoreName(dpy, win, sel->name);
|
XStoreName(dpy, win, sel->name);
|
||||||
|
@ -663,7 +663,7 @@ setup(void) {
|
||||||
win = XCreateSimpleWindow(dpy, root, wx, wy, ww, wh, 0, dc.norm[ColFG], dc.norm[ColBG]);
|
win = XCreateSimpleWindow(dpy, root, wx, wy, ww, wh, 0, dc.norm[ColFG], dc.norm[ColBG]);
|
||||||
XSelectInput(dpy, win, PointerMotionMask|SubstructureNotifyMask|
|
XSelectInput(dpy, win, PointerMotionMask|SubstructureNotifyMask|
|
||||||
ButtonPressMask|ExposureMask|KeyPressMask|
|
ButtonPressMask|ExposureMask|KeyPressMask|
|
||||||
LeaveWindowMask|SubstructureRedirectMask);
|
LeaveWindowMask|StructureNotifyMask);
|
||||||
XMapRaised(dpy, win);
|
XMapRaised(dpy, win);
|
||||||
xerrorxlib = XSetErrorHandler(xerror);
|
xerrorxlib = XSetErrorHandler(xerror);
|
||||||
XClassHint class_hint;
|
XClassHint class_hint;
|
||||||
|
|
Loading…
Reference in a new issue