From 1981ec7e286ae8c309b3d7f02c6cabb6999222ef Mon Sep 17 00:00:00 2001 From: Joe Steeve Date: Wed, 8 Aug 2012 11:30:54 +0300 Subject: 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 --- matchbox/theme-engines/mb-wm-theme.c | 5 +++-- 1 file 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; -- cgit