aboutsummaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2025-08-12 19:17:20 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2025-08-12 19:17:20 +0200
commit74edc27caa65aba9ea8d1fe03d26e3b449f79590 (patch)
tree51316d0c821a3c9401132099738e8dc75bd86779 /dwm.c
parent693d94d350c806e77677c35958e18590c26e19d2 (diff)
config: make refreshrate for mouse move/resize a config optionHEADmaster
Bump the default from 60 to 120.
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 1443802..4cf07eb 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1171,7 +1171,7 @@ movemouse(const Arg *arg)
handler[ev.type](&ev);
break;
case MotionNotify:
- if ((ev.xmotion.time - lasttime) <= (1000 / 60))
+ if ((ev.xmotion.time - lasttime) <= (1000 / refreshrate))
continue;
lasttime = ev.xmotion.time;
@@ -1325,7 +1325,7 @@ resizemouse(const Arg *arg)
handler[ev.type](&ev);
break;
case MotionNotify:
- if ((ev.xmotion.time - lasttime) <= (1000 / 60))
+ if ((ev.xmotion.time - lasttime) <= (1000 / refreshrate))
continue;
lasttime = ev.xmotion.time;