summaryrefslogtreecommitdiff
path: root/openbox/frame.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-11-15 21:12:06 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-11-15 21:12:06 +0000
commitd3d4aa29871111737a4f6985da695c8688a05270 (patch)
tree43ef8a1fdf3ac7201855025c0a41749e08b4aa49 /openbox/frame.c
parent59d35252dd37170a84c053dbff0fa1020e44888f (diff)
80 cols
Diffstat (limited to 'openbox/frame.c')
-rw-r--r--openbox/frame.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/openbox/frame.c b/openbox/frame.c
index 6c06697a..2c1152ee 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -581,7 +581,8 @@ static void layout_title(ObFrame *self)
break;
case 'D':
if (d) { *lc = ' '; break; }
- if (!(self->decorations & OB_FRAME_DECOR_ALLDESKTOPS) && config_theme_hidedisabled)
+ if (!(self->decorations & OB_FRAME_DECOR_ALLDESKTOPS)
+ && config_theme_hidedisabled)
break;
d = TRUE;
self->label_width -= (ob_rr_theme->button_size +
@@ -589,7 +590,8 @@ static void layout_title(ObFrame *self)
break;
case 'S':
if (s) { *lc = ' '; break; }
- if (!(self->decorations & OB_FRAME_DECOR_SHADE) && config_theme_hidedisabled)
+ if (!(self->decorations & OB_FRAME_DECOR_SHADE)
+ && config_theme_hidedisabled)
break;
s = TRUE;
self->label_width -= (ob_rr_theme->button_size +
@@ -597,7 +599,8 @@ static void layout_title(ObFrame *self)
break;
case 'I':
if (i) { *lc = ' '; break; }
- if (!(self->decorations & OB_FRAME_DECOR_ICONIFY) && config_theme_hidedisabled)
+ if (!(self->decorations & OB_FRAME_DECOR_ICONIFY)
+ && config_theme_hidedisabled)
break;
i = TRUE;
self->label_width -= (ob_rr_theme->button_size +
@@ -609,7 +612,8 @@ static void layout_title(ObFrame *self)
break;
case 'M':
if (m) { *lc = ' '; break; }
- if (!(self->decorations & OB_FRAME_DECOR_MAXIMIZE) && config_theme_hidedisabled)
+ if (!(self->decorations & OB_FRAME_DECOR_MAXIMIZE)
+ && config_theme_hidedisabled)
break;
m = TRUE;
self->label_width -= (ob_rr_theme->button_size +
@@ -617,7 +621,8 @@ static void layout_title(ObFrame *self)
break;
case 'C':
if (c) { *lc = ' '; break; }
- if (!(self->decorations & OB_FRAME_DECOR_CLOSE) && config_theme_hidedisabled)
+ if (!(self->decorations & OB_FRAME_DECOR_CLOSE)
+ && config_theme_hidedisabled)
break;
c = TRUE;
self->label_width -= (ob_rr_theme->button_size +