diff --git a/mlvwm/borders.c b/mlvwm/borders.c index 446f4d2..44c5c99 100644 --- a/mlvwm/borders.c +++ b/mlvwm/borders.c @@ -382,7 +382,7 @@ void DrawMinMax( MlvwmWindow *t, Bool on ) BOXSIZE+8, BOXSIZE+2 ); FillGradation( t->minmax_b ); XDrawRectangle( dpy, t->minmax_b, Scr.BlackGC, - 1, 1, BOXSIZE-6, BOXSIZE-6 ); + 1, 1, BOXSIZE-7, BOXSIZE-7 ); } else{ XFillRectangle( dpy, t->title_w, Scr.Gray4GC, diff --git a/mlvwm/event.c b/mlvwm/event.c index a445e92..360937b 100644 --- a/mlvwm/event.c +++ b/mlvwm/event.c @@ -969,7 +969,7 @@ void MinMaxWindow( MlvwmWindow *mw, XEvent *evp ) DisplayPush( mw->minmax_b ); XDrawRectangle( dpy, mw->minmax_b, Scr.BlackGC, - 1, 1, BOXSIZE-6, BOXSIZE-6 ); + 1, 1, BOXSIZE-7, BOXSIZE-7 ); while( !isEnd ){ XMaskEvent( dpy, ButtonReleaseMask|EnterWindowMask|LeaveWindowMask, &ev ); @@ -983,7 +983,7 @@ void MinMaxWindow( MlvwmWindow *mw, XEvent *evp ) if( ev.xcrossing.window==mw->minmax_b ){ DisplayPush( mw->minmax_b ); XDrawRectangle( dpy, mw->minmax_b, Scr.BlackGC, - 1, 1, BOXSIZE-6, BOXSIZE-6 ); + 1, 1, BOXSIZE-6, BOXSIZE-6 ); isIn = True; } break;