[PATCH libxcwm 15/15] Ignore XCB_MAPPING_NOTFIY events

Jon TURNEY jon.turney at dronecode.org.uk
Mon Nov 5 14:50:16 PST 2012


They are sent to all clients. There is no mechanism to express disinterest in this event.

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 src/libxcwm/event_loop.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/libxcwm/event_loop.c b/src/libxcwm/event_loop.c
index 85f19db..544983f 100644
--- a/src/libxcwm/event_loop.c
+++ b/src/libxcwm/event_loop.c
@@ -513,6 +513,9 @@ run_event_loop(void *thread_arg_struct)
                 break;
             }
 
+            case XCB_MAPPING_NOTIFY:
+                break;
+
             default:
             {
                 printf("UNKNOWN EVENT: %i\n", (evt->response_type & ~0x80));
-- 
1.7.9



More information about the xorg-devel mailing list