From 7e291e453e55e1762694fa30aa849b94da2dceaa Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 23 Mar 2011 07:27:32 +0000 Subject: revert the XSync timing change for client move only; first noticed by brynet. sure oga@ --- mousefunc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mousefunc.c') diff --git a/mousefunc.c b/mousefunc.c index 7ce0352..5a67276 100644 --- a/mousefunc.c +++ b/mousefunc.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: mousefunc.c,v 1.21 2011/03/22 10:59:08 okan Exp $ + * $Id: mousefunc.c,v 1.22 2011/03/23 07:27:32 okan Exp $ */ #include @@ -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); -- cgit v1.2.3-2-gb3c3