summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-31 07:51:04 +0000
committerDana Jansens <danakj@orodu.net>2003-03-31 07:51:04 +0000
commit0327c5a77894a9a8a325631c9e18fa223e5406d0 (patch)
tree06a5722c74a7a21667bbf014bc8466ca1b1af067
parent8d19206866b70307aac5854ad267af285bb6d544 (diff)
use the frame's position in the maximize function since they're converted to the client coords before getting to client_configure
-rw-r--r--openbox/client.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 6830ab73..5881cac6 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -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;