]> git.sur5r.net Git - i3/i3/commit
Call dragloop callback on DRAG_SUCCESS 3367/head
authorOrestis Floros <orestisf1993@gmail.com>
Tue, 21 Aug 2018 18:10:02 +0000 (21:10 +0300)
committerOrestis Floros <orestisf1993@gmail.com>
Tue, 21 Aug 2018 18:19:57 +0000 (21:19 +0300)
commit2c78f2458c17c9de08cacf255e82abd53adbe45a
tree846669d14e1383f83be273ebd1d0d85f263959e7
parente8dee4308a3a57e8a4c0da4fb79e965bc3fb8a9b
Call dragloop callback on DRAG_SUCCESS

A race condition is possible. For example, if we first receive a
XCB_MOTION_NOTIFY event and then, while drain_drag_events is still
running, a XCB_BUTTON_RELEASE event the first event is never handled
because we return.

This fixes the flakiness of the tests in #3085.
src/floating.c