Ver Fonte

Make moving and resizing windows more smooth

This will fix lagging when moving and resizing windows on higher refresh rate monitors
sioodmy há 3 anos atrás
pai
commit
69d4fe763c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      chadwm/dwm.c

+ 1 - 1
chadwm/dwm.c

@@ -1172,7 +1172,7 @@ void dragcfact(const Arg *arg) {
       handler[ev.type](&ev);
       break;
     case MotionNotify:
-      if ((ev.xmotion.time - lasttime) <= (1000 / 60))
+      if ((ev.xmotion.time - lasttime) <= (1000 / 120))
         continue;
       lasttime = ev.xmotion.time;
       if (prev_x == -999999) {