sowm

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

commit 4475ac5653bdfc37e75cd33ed104dd6b19215591
parent 2385f2c4e769e35970fd8896c64db0b3694120ef
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sun, 13 Oct 2019 17:30:09 +0300

focus window on ws change

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

diff --git a/sowm.c b/sowm.c @@ -292,6 +292,8 @@ void ws_go(const Arg arg) { if (list) for WIN XUnmapWindow(dis, c->win); ws_sel(arg.i); + + if (list) XSetInputFocus(dis, list->win, RevertToParent, CurrentTime); } void ws_save(int i) {