From d92feb6fa2927dc74eda4d9f1fca2265de4b95d1 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 21 Oct 2012 10:21:33 +0200 Subject: [PATCH] Fix button-border-width bug in monoMode The kludge of signalling we are dealing wih a button rather than a label was wrongly implemented in case of momoMode. --- xoptions.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xoptions.c b/xoptions.c index 08e18a0..b3c88c4 100644 --- a/xoptions.c +++ b/xoptions.c @@ -709,8 +709,8 @@ SetPositionAndSize (Arg *args, Widget leftNeigbor, Widget topNeigbor, int b, int if(!appData.monoMode) { if(!b && appData.dialogColor[0]) XtSetArg(args[j], XtNbackground, dialogColor), j++; if(b == 3 && appData.buttonColor[0]) XtSetArg(args[j], XtNbackground, buttonColor), j++; - if(b == 3) b = 1; } + if(b == 3) b = 1; // border XtSetArg(args[j], XtNborderWidth, b); j++; return j; -- 1.7.0.4