Japanese translation of message catalog for Sawfish Window-Manager
修订版 | 1dec4871b446c78241c56edf4f1756d7178feb17 (tree) |
---|---|
时间 | 2010-11-17 21:31:22 |
作者 | Michal Maruska <mmaruska@gmai...> |
Commiter | Michal Maruska |
handle_input_mask: ignore No/Graphics-Expose verbosely
@@ -1513,7 +1513,7 @@ handle_input_mask(long mask) | ||
1513 | 1513 | |
1514 | 1514 | if (mask == 0) |
1515 | 1515 | { |
1516 | - if(XEventsQueued(dpy, QueuedAfterReading) <= 0) | |
1516 | + if (XEventsQueued(dpy, QueuedAfterReading) <= 0) | |
1517 | 1517 | break; |
1518 | 1518 | XNextEvent(dpy, &xev); |
1519 | 1519 | } |
@@ -1528,7 +1528,13 @@ handle_input_mask(long mask) | ||
1528 | 1528 | rep_POPGC; |
1529 | 1529 | |
1530 | 1530 | if (xev.type == NoExpose || xev.type == GraphicsExpose) |
1531 | - continue; | |
1531 | + { | |
1532 | + if (debug_events & DB_EVENTS_FLOW) /* & DB_EVENTS_TIME */ | |
1533 | + DB (("** Event: serial:%s%d%s %s .... ignoring\n", | |
1534 | + serial_color,xev.xany.serial, color_reset, | |
1535 | + xev.type < LASTEvent ?event_names[xev.type]:"unknown event")); | |
1536 | + continue; | |
1537 | + } | |
1532 | 1538 | |
1533 | 1539 | #ifdef DEBUG |
1534 | 1540 | do { |