mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
revert the XSync timing change for client move only; first noticed by
brynet. sure oga@
This commit is contained in:
parent
5972c7a507
commit
349b3295b8
@ -159,8 +159,8 @@ mousefunc_window_move(struct client_ctx *cc, void *arg)
|
||||
cc->geom.x = ev.xmotion.x_root - px - cc->bwidth;
|
||||
cc->geom.y = ev.xmotion.y_root - py - cc->bwidth;
|
||||
|
||||
/* don't sync more than 10 times / second */
|
||||
if ((ev.xmotion.time - time) > (1000 / 10)) {
|
||||
/* don't sync more than 60 times / second */
|
||||
if ((ev.xmotion.time - time) > (1000 / 60)) {
|
||||
time = ev.xmotion.time;
|
||||
XSync(X_Dpy, False);
|
||||
client_move(cc);
|
||||
|
Loading…
Reference in New Issue
Block a user