]> Dogcows Code - chaz/openbox/commitdiff
debug messages
authorDana Jansens <danakj@orodu.net>
Thu, 3 May 2007 03:18:34 +0000 (03:18 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 3 May 2007 03:18:34 +0000 (03:18 +0000)
openbox/event.c

index c00212f849a221b07027bcb8955aced902872ea8..cbc9aaf8a9e6af37c0fd7f87efa707d93278a936 100644 (file)
@@ -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);
This page took 0.029148 seconds and 4 git commands to generate.