wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 5b3e057a96a73c3e0fb4bff00d357c29a50eb2e8
parent 6e9deaaec5db30a3742e8a44dc83d43d71a9c4f3
Author: Kris Maglione <jg@suckless.org>
Date:   Tue, 24 Apr 2007 16:20:43 -0400

Fix the stacking of the bar when there are fullscreen windows.

Diffstat:
cmd/wmii/main.c | 2+-
cmd/wmii/view.c | 4+++-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/cmd/wmii/main.c b/cmd/wmii/main.c @@ -281,7 +281,7 @@ struct { /* * There's no way to check accesses to destroyed windows, thus - * those cases are ignored (especially on UnmapNotify's). + * those cases are ignored (especially on UnmapNotifies). * Other types of errors call Xlib's default error handler, which * calls exit(). */ diff --git a/cmd/wmii/view.c b/cmd/wmii/view.c @@ -215,8 +215,10 @@ restack_view(View *v) { if(f != a->sel) wins[n++] = f->client->framewin; } - if(n) + if(n) { + XRaiseWindow(blz.dpy, wins[0]); XRestackWindows(blz.dpy, wins, n); + } } void