summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-03 03:18:34 +0000
committerDana Jansens <danakj@orodu.net>2007-05-03 03:18:34 +0000
commit88ac9ee76f1673978521e2bfcbfb284d8ae78734 (patch)
treee2dfc931400c36be413b4dd7894514a11123b7d2 /openbox
parent020cbeff19290daf4871b9519737680992212d03 (diff)
debug messages
Diffstat (limited to 'openbox')
-rw-r--r--openbox/event.c7
1 files changed, 7 insertions, 0 deletions
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);