]> Dogcows Code - chaz/openbox/commitdiff
use the frame's position in the maximize function since they're converted to the...
authorDana Jansens <danakj@orodu.net>
Mon, 31 Mar 2003 07:51:04 +0000 (07:51 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 31 Mar 2003 07:51:04 +0000 (07:51 +0000)
openbox/client.c

index 6830ab73e25c74f813fa58a1271887678eb8ce22..5881cac651341efeedaa93084d230e20662852a3 100644 (file)
@@ -1613,13 +1613,6 @@ void client_maximize(Client *self, gboolean max, int dir, gboolean savearea)
            PROP_SET32A(self->window, openbox_premax, cardinal,
                        dimensions, 4);
        }
-
-        /* pass the client's current position info. the client_configure
-           will move/size stuff as appropriate for a maximized window */
-        x = self->area.x;
-        y = self->area.y;
-        w = self->area.width;
-        h = self->area.height;
     } else {
        long *dimensions;
 
This page took 0.027946 seconds and 4 git commands to generate.