diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2011-09-13 21:02:57 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-09-13 21:31:39 -0400 |
commit | b785f8ad9ce5821606f3bf9af08374dfeb53f3dc (patch) | |
tree | 4410b6994509bbb82251bb760450aef318f75393 | |
parent | 419a1f1b1ae5c84a85a50002df1234728835e630 (diff) |
session-manager: Flush write buffers properly
-rw-r--r-- | clients/session-manager.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clients/session-manager.c b/clients/session-manager.c index 298d2f1d..b438ea8c 100644 --- a/clients/session-manager.c +++ b/clients/session-manager.c @@ -248,7 +248,10 @@ int main(int argc, char *argv[]) if (pfd[1].revents) wl_display_iterate(manager->display, - WL_DISPLAY_READABLE | + WL_DISPLAY_READABLE); + + if (mask & WL_DISPLAY_WRITABLE) + wl_display_iterate(manager->display, WL_DISPLAY_WRITABLE); } |