mirror of
https://github.com/morgant/mlvwm.git
synced 2024-11-25 20:32:03 +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 );
|
BOXSIZE+8, BOXSIZE+2 );
|
||||||
FillGradation( t->minmax_b );
|
FillGradation( t->minmax_b );
|
||||||
XDrawRectangle( dpy, t->minmax_b, Scr.BlackGC,
|
XDrawRectangle( dpy, t->minmax_b, Scr.BlackGC,
|
||||||
1, 1, BOXSIZE-6, BOXSIZE-6 );
|
1, 1, BOXSIZE-7, BOXSIZE-7 );
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
XFillRectangle( dpy, t->title_w, Scr.Gray4GC,
|
XFillRectangle( dpy, t->title_w, Scr.Gray4GC,
|
||||||
|
@ -969,7 +969,7 @@ void MinMaxWindow( MlvwmWindow *mw, XEvent *evp )
|
|||||||
|
|
||||||
DisplayPush( mw->minmax_b );
|
DisplayPush( mw->minmax_b );
|
||||||
XDrawRectangle( dpy, mw->minmax_b, Scr.BlackGC,
|
XDrawRectangle( dpy, mw->minmax_b, Scr.BlackGC,
|
||||||
1, 1, BOXSIZE-6, BOXSIZE-6 );
|
1, 1, BOXSIZE-7, BOXSIZE-7 );
|
||||||
while( !isEnd ){
|
while( !isEnd ){
|
||||||
XMaskEvent( dpy,
|
XMaskEvent( dpy,
|
||||||
ButtonReleaseMask|EnterWindowMask|LeaveWindowMask, &ev );
|
ButtonReleaseMask|EnterWindowMask|LeaveWindowMask, &ev );
|
||||||
|
Loading…
Reference in New Issue
Block a user