all repos — openbox @ cbaafd2ff9194570686cc242910f81e104ee8c42

openbox fork - make it a bit more like ryudo

use all possible struts when maximizing to fill the screen
Dana Jansens danakj@orodu.net
commit

cbaafd2ff9194570686cc242910f81e104ee8c42

parent

8c05970840ed3a7c7ecc4a63f8f226791b495326

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -2731,7 +2731,10 @@ Rect *a;

guint i; i = screen_find_monitor(&desired); - a = screen_area_monitor(self->desktop, i, &desired); + /* use all possible struts when maximizing to the full screen */ + a = screen_area_monitor(self->desktop, i, + (self->max_horz && self->max_vert ? + NULL : &desired)); /* set the size and position if maximized */ if (self->max_horz) {