From d661c1493c9218f48fee9b0fc71bc2006d55a3e2 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 1 Oct 2013 07:21:40 +0200 Subject: [PATCH] Only abort resizing on KeyPress, not KeyRelease (Thanks vandannen) Otherwise, releasing a key that was used to trigger the resizing (e.g. the modifier key) needs to be pressed all the time. --- src/floating.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/floating.c b/src/floating.c index a08b7b0f..ae1a9192 100644 --- a/src/floating.c +++ b/src/floating.c @@ -663,7 +663,6 @@ drag_result_t drag_pointer(Con *con, const xcb_button_press_event_t *event, xcb_ break; case XCB_KEY_PRESS: - case XCB_KEY_RELEASE: /* Cancel the drag if a key was pressed */ DLOG("A key was pressed during drag, canceling."); loop_done = true;