use the frame's position in the maximize function since they're converted to the client coords before getting to client_configure

This commit is contained in:
Dana Jansens 2003-03-31 07:51:04 +00:00
parent 8d19206866
commit 0327c5a778

View 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;