tabbed

[fork] xembed tabbing program
Log | Files | Refs | README | LICENSE

commit d136cb337f970cfe3b47134fec4e7578613cc56b
parent e65f4837cac681aff81575a312ec3ee77804883f
Author: Enno Boland (tox) <tox@s01.de>
Date:   Tue, 22 Sep 2009 22:36:07 +0200

resizing works again, windows are getting managed.
Diffstat:
Mconfig.mk | 2+-
Mtabbed.c | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/config.mk b/config.mk @@ -18,7 +18,7 @@ LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0 # flags CPPFLAGS = -DVERSION=\"${VERSION}\" #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 = ${LIBS} diff --git a/tabbed.c b/tabbed.c @@ -325,7 +325,7 @@ focus(Client *c) { return; } XRaiseWindow(dpy, c->win); - XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); +// XSetInputFocus(dpy, c->win, RevertToNone, CurrentTime); XSelectInput(dpy, c->win, PropertyChangeMask|StructureNotifyMask); sel = c; 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]); XSelectInput(dpy, win, PointerMotionMask|SubstructureNotifyMask| ButtonPressMask|ExposureMask|KeyPressMask| - LeaveWindowMask|SubstructureRedirectMask); + LeaveWindowMask|StructureNotifyMask); XMapRaised(dpy, win); xerrorxlib = XSetErrorHandler(xerror); XClassHint class_hint;