lock the position/size of maximized windows
Dana Jansens danakj@orodu.net
1 files changed,
10 insertions(+),
0 deletions(-)
jump to
M
openbox/client.c
→
openbox/client.c
@@ -1281,6 +1281,16 @@ gboolean user, gboolean final)
{ gboolean moved = FALSE, resized = FALSE; + /* lock if maximized */ + if (self->max_horz) { + x = self->area.x; + w = self->area.width; + } + if (self->max_vert) { + y = self->area.y; + h = self->area.height; + } + w -= self->base_size.width; h -= self->base_size.height;