From 88ac9ee76f1673978521e2bfcbfb284d8ae78734 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 3 May 2007 03:18:34 +0000 Subject: [PATCH] debug messages --- openbox/event.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openbox/event.c b/openbox/event.c index c00212f8..cbc9aaf8 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -894,6 +894,10 @@ static void event_handle_client(ObClient *client, XEvent *e) h = (e->xconfigurerequest.value_mask & CWHeight) ? e->xconfigurerequest.height : client->area.height; + ob_debug("ConfigureRequest x %d %d y %d %d\n", + e->xconfigurerequest.value_mask & CWX, x, + e->xconfigurerequest.value_mask & CWY, y); + client_find_onscreen(client, &x, &y, w, h, FALSE); client_configure_full(client, x, y, w, h, FALSE, TRUE, TRUE); } @@ -1081,6 +1085,9 @@ static void event_handle_client(ObClient *client, XEvent *e) else h = client->area.height; + ob_debug("MOVERESIZE x %d %d y %d %d\n", + e->xclient.data.l[0] & 1 << 8, x, + e->xclient.data.l[0] & 1 << 9, y); client_convert_gravity(client, grav, &x, &y, w, h); client_find_onscreen(client, &x, &y, w, h, FALSE); client_configure(client, x, y, w, h, FALSE, TRUE); -- 2.39.2