sowm

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

commit 50ba88987d11abbee2092570e01638bdf96894dd
parent efbbd2881ecc3194418907e8402409ced01d1b92
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sat, 12 Oct 2019 22:46:51 +0300

docs: update

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

diff --git a/sowm.c b/sowm.c @@ -375,10 +375,10 @@ void wm_init() { wm_setup(); - XGrabButton(dis, 1, Mod4Mask, DefaultRootWindow(dis), True, + XGrabButton(dis, 1, Mod4Mask, root, True, ButtonPressMask|ButtonReleaseMask|PointerMotionMask, GrabModeAsync, GrabModeAsync, None, None); - XGrabButton(dis, 3, Mod4Mask, DefaultRootWindow(dis), True, + XGrabButton(dis, 3, Mod4Mask, root, True, ButtonPressMask|ButtonReleaseMask|PointerMotionMask, GrabModeAsync, GrabModeAsync, None, None); start.subwindow = None;