]> git.sur5r.net Git - i3/i3/commit
dragging: instead of using a custom event loop, use libev
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 15 Dec 2013 16:30:06 +0000 (17:30 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 22 Dec 2013 20:52:49 +0000 (21:52 +0100)
commite567cf436c31b6d91f4e69e80b3af2a278aa70fa
treeadb7028f91c3d6f22520725e5567cd21263ee8ab
parentf57f94c8509ba37606ff8e0aa555a859d27e1f1f
dragging: instead of using a custom event loop, use libev

This is done by installing a new check watcher that replaces the main
X11 event handler and calling ev_run with EVRUN_ONCE until the dragging
loop left state DRAGGING.

With this commit, other handlers, most notably the redraw handler for
placeholder windows, get a chance to run when dragging (placeholder!)
windows around.
include/all.h
include/main.h [new file with mode: 0644]
src/floating.c
src/main.c
src/restore_layout.c