summaryrefslogtreecommitdiff
path: root/app/cwm/mousefunc.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2011-03-23 07:27:33 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2011-03-23 07:27:33 +0000
commit7f960cb5e930766bfafdc95a37884f3bdcf7a671 (patch)
treed91ab2c16737a383b559185c8571cd02d77ad262 /app/cwm/mousefunc.c
parent8d927e8cf1c6e01a73a57605ab8b6fae437fed01 (diff)
revert the XSync timing change for client move only; first noticed by
brynet. sure oga@
Diffstat (limited to 'app/cwm/mousefunc.c')
-rw-r--r--app/cwm/mousefunc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/cwm/mousefunc.c b/app/cwm/mousefunc.c
index 7ce035266..5a672764d 100644
--- a/app/cwm/mousefunc.c
+++ b/app/cwm/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 <sys/param.h>
@@ -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);