window: Send ack_configure immediately from configure handler
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 13 May 2014 06:30:28 +0000 (23:30 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 13 May 2014 06:34:34 +0000 (23:34 -0700)
commitbe803ad67cf84cd6997155b0283fbb474747e7a2
treec1d113ab06aaac180f1ae8eed92e59ea60b5d819
parentf184c382e89ec71b1b9988a60918110e3fced94e
window: Send ack_configure immediately from configure handler

Once we've updated the window state and scheduled a resize, we know that
the next frame we send to the compositor will match the configured state.
This means we can just ack the configure immediately and not jump
through hoops to try to do it from the redraw stage.
clients/window.c