[yocto] [PATCH][matchbox-wm] wm: Do not set MB theme based on Net/ThemeName

Jussi Kukkonen jussi.kukkonen at intel.com
Tue Apr 26 00:57:00 PDT 2016


MBWM already supports setting MB theme with "MATCHBOX/THEME",
there is no advantage to also set it with "Net/ThemeName" -- the
expectation that MBWM has a matching theme for all toolkit themes
is not realistic.

Net/ThemeName is used by Gtk+ to set Gtk theme so this change allows
the Gtk theme and MBWM theme to have different names.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
---
 src/wm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/wm.c b/src/wm.c
index 00d88c5..cb033c6 100644
--- a/src/wm.c
+++ b/src/wm.c
@@ -3039,7 +3039,6 @@ wm_xsettings_notify_cb (const char       *name,
   int key = XSET_UNKNOWN;
   
   struct _mb_xsettings { char *name; int value; } mb_xsettings[] = {
-    { "Net/ThemeName",      XSET_THEME     },
     { "MATCHBOX/THEME",     XSET_THEME     },
     { "MATCHBOX/CURSOR",    XSET_CURSOR    },
     { "MATCHBOX/TITLEBARS", XSET_TITLEBARS }, /* XXX Not implemeted */
-- 
2.8.1




More information about the yocto mailing list