Quellcode durchsuchen

Make moving and resizing windows more smooth

This will fix lagging when moving and resizing windows on higher refresh rate monitors
sioodmy vor 3 Jahren
Ursprung
Commit
69d4fe763c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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) {