diff options
| author | Quentin Carbonneaux | 2014-07-21 17:54:13 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux | 2014-07-21 17:54:13 -0400 |
| commit | df7edeec7e06e9cd104868b0bff9e0962312bc40 (patch) | |
| tree | d7076ec3c43d17fe35189a6ffa26490a89b59070 | |
| parent | e2d8b78074c5b0982e6de56c29033dbba925411e (diff) | |
flush the Xlib queue before entering ev_loop
If not, the initial resize event sent by x11.c
can be missed resulting in a blank screen that
lasts until the first user interaction.
| -rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -79,6 +79,7 @@ main(int ac, char *av[]) eb_read(eb, eb->path = ac > 1 ? av[1] : "dummy.txt"); curwin = win_new(eb); + gev(0, ERead, 0); ev_loop(); } |
