• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Japanese translation of message catalog for Sawfish Window-Manager


Commit MetaInfo

修订版1dec4871b446c78241c56edf4f1756d7178feb17 (tree)
时间2010-11-17 21:31:22
作者Michal Maruska <mmaruska@gmai...>
CommiterMichal Maruska

Log Message

handle_input_mask: ignore No/Graphics-Expose verbosely

更改概述

差异

--- a/src/events.c
+++ b/src/events.c
@@ -1513,7 +1513,7 @@ handle_input_mask(long mask)
15131513
15141514 if (mask == 0)
15151515 {
1516- if(XEventsQueued(dpy, QueuedAfterReading) <= 0)
1516+ if (XEventsQueued(dpy, QueuedAfterReading) <= 0)
15171517 break;
15181518 XNextEvent(dpy, &xev);
15191519 }
@@ -1528,7 +1528,13 @@ handle_input_mask(long mask)
15281528 rep_POPGC;
15291529
15301530 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+ }
15321538
15331539 #ifdef DEBUG
15341540 do {