From 693d94d350c806e77677c35958e18590c26e19d2 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 9 Aug 2025 14:34:03 +0200 Subject: bump version to 6.6 --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 8efca9a..b469a2b 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # dwm version -VERSION = 6.5 +VERSION = 6.6 # Customize below to fit your system -- cgit v1.2.3-70-g09d2 From 74edc27caa65aba9ea8d1fe03d26e3b449f79590 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Tue, 12 Aug 2025 19:17:20 +0200 Subject: config: make refreshrate for mouse move/resize a config option Bump the default from 60 to 120. --- config.def.h | 1 + dwm.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 9efa774..81c3fc0 100644 --- a/config.def.h +++ b/config.def.h @@ -36,6 +36,7 @@ static const float mfact = 0.55; /* factor of master area size [0.05..0.95] 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/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; -- cgit v1.2.3-70-g09d2