mirror of
https://github.com/morgant/mlvwm.git
synced 2024-11-22 01:31:16 +00:00
Borders&Event: Fix rectangle size on MinMax button
This commit is contained in:
parent
4cd1d76fe1
commit
0a3517159f
@ -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,
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user