sowm

An itsy bitsy floating window manager (220~ sloc!).
git clone git://mfeller.io/sowm.git
Log | Files | Refs | README | LICENSE

commit 589bb768d9926f106656db5c1fcef0cf2535724a
parent 84119dd331c6c508f6e3fb60137247be9f6fe22f
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sat, 19 Oct 2019 10:27:18 +0300

sowm: fix current

Diffstat:
Msowm.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sowm.c b/sowm.c @@ -247,11 +247,12 @@ void map_request(XEvent *e) { XSelectInput(d, w, StructureNotifyMask|EnterWindowMask); win_size(w, &wx, &wy, &ww, &wh); win_add(w); - win_focus(list->prev); + cur = list->prev; if (wx + wy == 0) win_center(); XMapWindow(d, w); + win_focus(list->prev); } void run(const Arg arg) {