aboutsummaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-05-23 14:29:53 -0700
committerFuwn <[email protected]>2024-05-23 14:29:59 -0700
commit68c988ef29c918c61822e04830654722168ae751 (patch)
treef3952f618ffb5d28cbe4d9f2ad03e71e57e6c2d0 /dwm.c
parentfeat(config.h): update my configuration (diff)
downloadseiwm-68c988ef29c918c61822e04830654722168ae751.tar.xz
seiwm-68c988ef29c918c61822e04830654722168ae751.zip
feat(dwm.c): remove window refresh rate limit
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/dwm.c b/dwm.c
index f2b9a40..386f614 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1394,7 +1394,7 @@ movemouse(const Arg *arg)
Client *c;
Monitor *m;
XEvent ev;
- Time lasttime = 0;
+ /* Time lasttime = 0; */
if (!(c = selmon->sel))
return;
@@ -1417,9 +1417,9 @@ movemouse(const Arg *arg)
handler[ev.type](&ev);
break;
case MotionNotify:
- if ((ev.xmotion.time - lasttime) <= (1000 / 60))
+ /* if ((ev.xmotion.time - lasttime) <= (1000 / 60))
continue;
- lasttime = ev.xmotion.time;
+ lasttime = ev.xmotion.time; */
nx = ocx + (ev.xmotion.x - x);
ny = ocy + (ev.xmotion.y - y);
@@ -1573,7 +1573,7 @@ resizemouse(const Arg *arg)
Client *c;
Monitor *m;
XEvent ev;
- Time lasttime = 0;
+ /* Time lasttime = 0; */
if (!(c = selmon->sel))
return;
@@ -1595,9 +1595,9 @@ resizemouse(const Arg *arg)
handler[ev.type](&ev);
break;
case MotionNotify:
- if ((ev.xmotion.time - lasttime) <= (1000 / 60))
+ /* if ((ev.xmotion.time - lasttime) <= (1000 / 60))
continue;
- lasttime = ev.xmotion.time;
+ lasttime = ev.xmotion.time; */
nw = MAX(ev.xmotion.x - ocx - 2 * c->bw + 1, 1);
nh = MAX(ev.xmotion.y - ocy - 2 * c->bw + 1, 1);