summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbox/event.c b/openbox/event.c
index c4af7b23..b3cdf4dc 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -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 */