]> Dogcows Code - chaz/openbox/commitdiff
dont check to make sure the window is on screen here
authorDana Jansens <danakj@orodu.net>
Mon, 7 Apr 2003 08:58:45 +0000 (08:58 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 7 Apr 2003 08:58:45 +0000 (08:58 +0000)
plugins/placement/history.c

index 58434780b687c6b71862d5b09ef5f84184d7b40f..ea3d60dfb5cf9a7b2d2d0b7d7b438390946dd543 100644 (file)
@@ -56,13 +56,6 @@ gboolean place_history(Client *c)
             x = hi->x;
             y = hi->y;
 
-            /* make sure the window is on the display */
-            if (x >= screen_physical_size.width ||
-                y >= screen_physical_size.height ||
-                x + c->frame->area.width < 1 ||
-                y + c->frame->area.height < 1)
-                return FALSE;
-
             frame_frame_gravity(c->frame, &x, &y); /* get where the client
                                                       should be */
             client_configure(c, Corner_TopLeft, x, y,
This page took 0.025894 seconds and 4 git commands to generate.