about summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2011-05-13 12:53:19 +0000
committerokan <okan>2011-05-13 12:53:19 +0000
commitfa64bc2f32dd4635bd90712eb1a144c7ea593288 (patch)
tree67f445afbfaae12bbf12896d4d2a8572fd572c71
parentc8cd94882d79fe1d2601df7a7aafe08bad0f62f6 (diff)
downloadcwm-fa64bc2f32dd4635bd90712eb1a144c7ea593288.tar.gz
cwm-fa64bc2f32dd4635bd90712eb1a144c7ea593288.tar.xz
cwm-fa64bc2f32dd4635bd90712eb1a144c7ea593288.zip
remove left over XSync; ok oga@
-rw-r--r--mousefunc.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/mousefunc.c b/mousefunc.c
index 1f1ea8c..04c1931 100644
--- a/mousefunc.c
+++ b/mousefunc.c
@@ -116,10 +116,8 @@ mousefunc_window_resize(struct client_ctx *cc, void *arg)
 			}
 			break;
 		case ButtonRelease:
-			if (time) {
-				XSync(X_Dpy, False);
+			if (time)
 				client_resize(cc);
-			}
 			XUnmapWindow(X_Dpy, sc->menuwin);
 			XReparentWindow(X_Dpy, sc->menuwin, sc->rootwin, 0, 0);
 			xu_ptr_ungrab();
@@ -171,10 +169,8 @@ mousefunc_window_move(struct client_ctx *cc, void *arg)
 			}
 			break;
 		case ButtonRelease:
-			if (time) {
-				XSync(X_Dpy, False);
+			if (time)
 				client_move(cc);
-			}
 			xu_ptr_ungrab();
 			return;
 		}