From 50ba88987d11abbee2092570e01638bdf96894dd Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 12 Oct 2019 22:46:51 +0300 Subject: [PATCH] docs: update --- sowm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sowm.c b/sowm.c index 31fcbd0..800356b 100644 --- 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;