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:
@@ -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) {
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user