dwm

my build of dwm
git clone git://git.hanetzok.net/dwm
Log | Files | Refs | README | LICENSE

commit 18bdfda6a4c6b4d20754c487e74f4e6e00a2e65d
parent 8cb84086046b7197f32c4e95a6a8a47485f80f35
Author: Markus Hanetzok <markus@hanetzok.net>
Date:   Tue,  9 Sep 2025 17:14:22 +0200

Merge branch 'master' of git://git.suckless.org/dwm

Diffstat:
Mconfig.def.h | 1+
Mconfig.mk | 2+-
Mdwm.c | 4++--
3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -73,6 +73,7 @@ static const float mfact = 0.55; /* factor of master area size [0.05..0.9 static const int nmaster = 1; /* number of clients in master area */ static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */ +static const int refreshrate = 120; /* refresh rate (per second) for client move/resize */ static const Layout layouts[] = { /* symbol arrange function */ diff --git a/config.mk b/config.mk @@ -1,5 +1,5 @@ # dwm version -VERSION = 6.5 +VERSION = 6.6 # Customize below to fit your system diff --git a/dwm.c b/dwm.c @@ -1457,7 +1457,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; @@ -1657,7 +1657,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;