1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

Added some () and a comment.

This commit is contained in:
dan
1999-11-26 23:59:06 +00:00
parent 5e32d1cb4f
commit 4313762bdb
2 changed files with 2 additions and 0 deletions

View File

@@ -902,6 +902,7 @@ W_WaitForEvent(Display *dpy, unsigned long xeventmask)
if ((handler->mask & WIExceptMask) && FD_ISSET(handler->fd, &eset)) if ((handler->mask & WIExceptMask) && FD_ISSET(handler->fd, &eset))
mask |= WIExceptMask; mask |= WIExceptMask;
/* save it because the handler may remove itself! */
next = handler->next; next = handler->next;
if (mask!=0 && handler->callback) { if (mask!=0 && handler->callback) {

View File

@@ -543,6 +543,7 @@ handleInputEvents(Bool waitForInput)
if ((handler->mask & WIExceptMask) && FD_ISSET(handler->fd, &eset)) if ((handler->mask & WIExceptMask) && FD_ISSET(handler->fd, &eset))
mask |= WIExceptMask; mask |= WIExceptMask;
/* save it because the handler may remove itself! */
next = handler->next; next = handler->next;
if (mask!=0 && handler->callback) { if (mask!=0 && handler->callback) {