fix module blocking for wl modules
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 22 Apr 2015 23:09:19 +0000 (19:09 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 23 Apr 2015 01:20:57 +0000 (21:20 -0400)
these should never be saved to or loaded from the config

src/bin/e_module.c

index 1d2351b..1a33c57 100644 (file)
@@ -241,7 +241,7 @@ e_module_all_load(void)
         if (!em) continue;
 
         if ((!e_util_strcmp(em->name, "comp")) || (!e_util_strcmp(em->name, "conf_comp")) ||
-            (e_comp && (!strcmp(em->name, "wl_x11"))) //block wl_x11 if we've already created a compositor
+            (!strncmp(em->name, "wl_", 3)) //block wl_* modules from being saved
            )
           {
              eina_stringshare_del(em->name);