aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Steeve <js@hipro.co.in>2012-08-08 11:30:54 +0300
committerRoss Burton <ross.burton@intel.com>2012-08-08 11:31:30 +0300
commit1981ec7e286ae8c309b3d7f02c6cabb6999222ef (patch)
tree285a558bdfec778daa591c2646810a0fe5c4fa2c
parent01fa5465743c9ee43d040350f4405d35293e4869 (diff)
downloadmatchbox-window-manager-2-1981ec7e286ae8c309b3d7f02c6cabb6999222ef.tar.gz
matchbox-window-manager-2-1981ec7e286ae8c309b3d7f02c6cabb6999222ef.tar.bz2
matchbox-window-manager-2-1981ec7e286ae8c309b3d7f02c6cabb6999222ef.zip
show-title tag isn't respected by the default theme
The default theme engine does not honor the 'show-title' tag. This is available in the PNG theme engine. Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--matchbox/theme-engines/mb-wm-theme.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/matchbox/theme-engines/mb-wm-theme.c b/matchbox/theme-engines/mb-wm-theme.c
index 93e8fe7..33d4914 100644
--- a/matchbox/theme-engines/mb-wm-theme.c
+++ b/matchbox/theme-engines/mb-wm-theme.c
@@ -1859,8 +1859,9 @@ mb_wm_theme_simple_paint_decor (MBWMTheme *theme, MBWMDecor *decor)
XFillRectangle (xdpy, dd->xpix, gc, 0, 0, w, h);
- if (mb_wm_decor_get_type(decor) == MBWMDecorTypeNorth &&
- (title = mb_wm_client_get_name (client)))
+ if (d->show_title &&
+ (mb_wm_decor_get_type(decor) == MBWMDecorTypeNorth &&
+ (title = mb_wm_client_get_name (client))))
{
XRectangle rec;