unset DISPLAY on xwayland module shutdown
authorMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 30 Jul 2015 17:36:42 +0000 (13:36 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 30 Jul 2015 17:36:42 +0000 (13:36 -0400)
fixes loading across restarts

src/modules/xwayland/e_mod_main.c

index 7149152729ab3b3f2c040074cdd6aedfd4921a64..5926ad69127bca63b6caa4b3a2733fa0309e7e3b 100644 (file)
@@ -419,6 +419,7 @@ e_modapi_shutdown(E_Module *m EINA_UNUSED)
    if (exs->sig_hdlr) ecore_event_handler_del(exs->sig_hdlr);
 
    free(exs);
+   e_util_env_set("DISPLAY", NULL);
 
    return 1;
 }