projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
82fbd7e
)
Fix button-border-width bug in monoMode
author
H.G. Muller
<h.g.muller@hccnet.nl>
Sun, 21 Oct 2012 08:21:33 +0000 (10:21 +0200)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sun, 21 Oct 2012 09:28:08 +0000 (11:28 +0200)
The kludge of signalling we are dealing wih a button rather than a label
was wrongly implemented in case of momoMode.
xoptions.c
patch
|
blob
|
history
diff --git
a/xoptions.c
b/xoptions.c
index
08e18a0
..
b3c88c4
100644
(file)
--- 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;