Эх сурвалжийг харах

Merge pull request #67 from sioodmy/main

Make moving and resizing windows more smooth
siduck 3 жил өмнө
parent
commit
4bf34c9f87
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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) {