Skip to content

Commit

Permalink
Fixed top left & right rounded corners in System8 theme. Issue #16, i…
Browse files Browse the repository at this point in the history
…ssue #17
  • Loading branch information
morgant committed Mar 18, 2021
1 parent 9a32e76 commit 708a30f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions mlvwm/menus.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,10 @@ void RedrawMenuBar( void )
XFillRectangle( dpy, Scr.MenuBar,
Scr.BlackGC, Scr.MyDisplayWidth-7, 0, 7, 7 );
if( Scr.flags&SYSTEM8 && !(Scr.flags&STARTING) ){
for( lp=0; lp<2; lp++ ){
XDrawArc( dpy, Scr.MenuBar, Scr.WhiteGC, 0, 0,
14-lp, 14-lp, 180*64, -(90*64) );
XDrawArc( dpy, Scr.MenuBar, Scr.Gray1GC, Scr.MyDisplayWidth-15, 0,
14-lp, 14-lp, 0, 90*64 );
}
XDrawArc( dpy, Scr.MenuBar, Scr.WhiteGC, 0, 0,
14, 14, 180*64, -(90*64) );
XDrawArc( dpy, Scr.MenuBar, Scr.Gray1GC, Scr.MyDisplayWidth-15, 0,
14, 14, 0, 90*64 );
XFillArc( dpy, Scr.MenuBar, Scr.MenuBlueGC, 0, 0,
14, 14, 180*64, -(90*64) );
XFillArc( dpy, Scr.MenuBar, Scr.MenuBlueGC, Scr.MyDisplayWidth-15, 0,
Expand Down

0 comments on commit 708a30f

Please sign in to comment.