]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
allow non-normal windows to go to 0,0. and remove a debugging g_print
[chaz/openbox] / openbox / event.c
index c4af7b232753df61f332c3b09772af24454aafcd..b3cdf4dc2a7997e2b892c1b2b31c337a86760db0 100644 (file)
@@ -1253,8 +1253,9 @@ static void event_handle_client(ObClient *client, XEvent *e)
            XXX remove this some day...that would be nice. but really unexpected
            from Sun Microsystems.
         */
-        g_print("x %d y %d grav %d %d\n", x, y, client->gravity, NorthWestGravity);
-        if (x == 0 && y == 0 && client->gravity == NorthWestGravity) {
+        if (x == 0 && y == 0 && client->gravity == NorthWestGravity &&
+            client_normal(client))
+        {
             const Rect to = { x, y, w, h };
 
             /* oldschool fullscreen windows are allowed */
This page took 0.020745 seconds and 4 git commands to generate.