diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-11-07 21:37:01 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-11-21 14:03:00 +0000 |
commit | 887402e2fa259411b94bec91b941d7c29caff5ad (patch) | |
tree | 20e98f7c6162929ead76a49f8bf7eb9d82f3e336 | |
parent | 341359413df1235e0b0399a8a14718db9c85be7c (diff) |
Debug tweaks
-rw-r--r-- | src/libxcwm/event_loop.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/libxcwm/event_loop.c b/src/libxcwm/event_loop.c index 4c7294e..0670244 100644 --- a/src/libxcwm/event_loop.c +++ b/src/libxcwm/event_loop.c @@ -233,7 +233,7 @@ run_event_loop(void *thread_arg_struct) xcb_generate_id(return_evt->window->context->conn); xcb_rectangle_t rect; - printf("initial damage on window 0x%08x\n", dmgevnt->drawable); + /* printf("initial damage on window 0x%08x\n", dmgevnt->drawable); */ /* Remove the damage */ xcb_xfixes_create_region(return_evt->window->context->conn, @@ -364,7 +364,7 @@ run_event_loop(void *thread_arg_struct) No MAP_REQUEST for override-redirect windows, so need to create the xcwm_window_t for it now */ - printf("MAP_NOTIFY without MAP_REQUEST\n"); + /* printf("MAP_NOTIFY without MAP_REQUEST\n"); */ window = _xcwm_window_create(context, notify->window, notify->event); @@ -540,19 +540,17 @@ run_event_loop(void *thread_arg_struct) case XCB_ENTER_NOTIFY: { - xcb_enter_notify_event_t *en = (xcb_enter_notify_event_t *)evt; - printf("entering window 0x%08x, focus %d\n", - en->event, en->same_screen_focus); - + /* xcb_enter_notify_event_t *en = (xcb_enter_notify_event_t *)evt; */ + /* printf("entering window 0x%08x, focus %d\n", */ + /* en->event, en->same_screen_focus); */ break; } case XCB_LEAVE_NOTIFY: { - xcb_leave_notify_event_t *ln = (xcb_leave_notify_event_t *)evt; - printf("leaving window 0x%08x, focus %d\n", - ln->event, ln->same_screen_focus); - + /* xcb_leave_notify_event_t *ln = (xcb_leave_notify_event_t *)evt; */ + /* printf("leaving window 0x%08x, focus %d\n", */ + /* ln->event, ln->same_screen_focus); */ break; } |