Mercurial > mplayer.hg
changeset 36072:506cefd8a5f0
Make comment a doxygen comment.
Additionally, remove commented code.
author | ib |
---|---|
date | Fri, 05 Apr 2013 12:43:11 +0000 |
parents | 989b5d955703 |
children | 01f4eea55d75 |
files | gui/wm/ws.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/wm/ws.c Fri Apr 05 12:41:49 2013 +0000 +++ b/gui/wm/ws.c Fri Apr 05 12:43:11 2013 +0000 @@ -605,13 +605,15 @@ XSync(wsDisplay, False); } +/** + * @brief Process all pending events. + */ void wsEvents(void) { XEvent xev; - /* handle pending events */ + while (XPending(wsDisplay)) { XNextEvent(wsDisplay, &xev); -// printf("### X event: %d [%d]\n",xev.type,delay); wsEvent(&xev); } }