Compare commits
13 Commits
356b646041
...
238ac9fd76
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
238ac9fd76 | ||
|
|
874ca642ba | ||
|
|
5f4ec88fba | ||
|
|
d8e6eb2fcd | ||
|
|
342c273fd3 | ||
|
|
33a07b42ce | ||
|
|
cd0ffd501c | ||
|
|
c389dc2be3 | ||
|
|
d923893a73 | ||
|
|
2df9f44895 | ||
|
|
1e76050b6d | ||
|
|
74edc27caa | ||
|
|
693d94d350 |
@@ -44,6 +44,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 */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# dwm version
|
||||
VERSION = 6.5
|
||||
VERSION = 6.6
|
||||
|
||||
# Customize below to fit your system
|
||||
|
||||
|
||||
4
dwm.c
4
dwm.c
@@ -1402,7 +1402,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;
|
||||
|
||||
@@ -1601,7 +1601,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user