diff -ruN openbox-3.2.orig/openbox/event.c openbox-3.2/openbox/event.c --- openbox-3.2.orig/openbox/event.c 2004-03-21 05:57:31.000000000 -0600 +++ openbox-3.2/openbox/event.c 2004-11-05 15:34:46.000000000 -0600 @@ -635,6 +635,10 @@ break; case ButtonPress: case ButtonRelease: + XSync(ob_display, FALSE); + XAllowEvents(ob_display, ReplayPointer, CurrentTime); + XSync(ob_display, FALSE); + /* Wheel buttons don't draw because they are an instant click, so it is a waste of resources to go drawing it. */ if (!(e->xbutton.button == 4 || e->xbutton.button == 5)) { diff -ruN openbox-3.2.orig/openbox/moveresize.c openbox-3.2/openbox/moveresize.c --- openbox-3.2.orig/openbox/moveresize.c 2004-03-21 05:57:31.000000000 -0600 +++ openbox-3.2/openbox/moveresize.c 2004-11-05 15:35:19.000000000 -0600 @@ -246,6 +246,8 @@ g_assert(moveresize_in_progress); if (e->type == ButtonPress) { + XAllowEvents(ob_display, ReplayPointer, CurrentTime); + if (!button) { start_x = e->xbutton.x_root; start_y = e->xbutton.y_root;