diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-08-13 14:08:07 +0800 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-08-13 14:08:07 +0800 |
commit | ed2e5ce863571975b2734718b76a3c0ea6493af6 (patch) | |
tree | fe59647dae818a685f2b8f0bcda18b80a93545a6 /dwm.c | |
parent | 9f92432bc715bf3291213661d82cccbbe3969bf7 (diff) | |
parent | 74edc27caa65aba9ea8d1fe03d26e3b449f79590 (diff) |
Merge branch 'master' into flyfly
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1172,7 +1172,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; @@ -1326,7 +1326,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; |