sowm

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

commit 9ec0de3b355ee007362d424cb06d54d4c544f992
parent 9fa007fd0b51cecb8aa4ed84abd94800edd1d0c8
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sat, 12 Oct 2019 23:12:30 +0300

docs: update

Diffstat:
Msowm.c | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/sowm.c b/sowm.c @@ -366,8 +366,8 @@ void wm_setup() { const Arg arg = {.i = 1}; ws_go(arg); - XSelectInput(dis, root, SubstructureNotifyMask|SubstructureRedirectMask| - EnterWindowMask|LeaveWindowMask); + XSelectInput(dis, root, SubstructureNotifyMask| + SubstructureRedirectMask|EnterWindowMask|LeaveWindowMask); } void wm_init() { @@ -376,10 +376,12 @@ void wm_init() { wm_setup(); XGrabButton(dis, 1, Mod4Mask, root, True, - ButtonPressMask|ButtonReleaseMask|PointerMotionMask, GrabModeAsync, GrabModeAsync, None, None); + ButtonPressMask|ButtonReleaseMask|PointerMotionMask, + GrabModeAsync, GrabModeAsync, None, None); XGrabButton(dis, 3, Mod4Mask, root, True, - ButtonPressMask|ButtonReleaseMask|PointerMotionMask, GrabModeAsync, GrabModeAsync, None, None); + ButtonPressMask|ButtonReleaseMask|PointerMotionMask, + GrabModeAsync, GrabModeAsync, None, None); start.subwindow = None;