From 708a30f602db35eb962cc1d5bc75c09a7f3364c9 Mon Sep 17 00:00:00 2001 From: Morgan Aldridge Date: Thu, 18 Mar 2021 09:48:22 -0400 Subject: [PATCH] Fixed top left & right rounded corners in System8 theme. Issue #16, issue #17 --- mlvwm/menus.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/mlvwm/menus.c b/mlvwm/menus.c index ee3092c..f7e52f6 100644 --- a/mlvwm/menus.c +++ b/mlvwm/menus.c @@ -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,