From d8ec3b2f428e2f22bd34abd0275b7b88a55496c2 Mon Sep 17 00:00:00 2001 From: Boram Park Date: Thu, 3 Sep 2015 11:54:10 +0900 Subject: [PATCH] add currnet desk if there is no pre-defined desk Change-Id: I7a6fbbc2b7882be8051df28492ca3940ca5ada51 --- src/e_mod_config.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/e_mod_config.c b/src/e_mod_config.c index a26e45d..0c979a4 100644 --- a/src/e_mod_config.c +++ b/src/e_mod_config.c @@ -311,10 +311,13 @@ e_mod_pol_conf_init(Mod *mod) conf->launcher.type = E_WINDOW_TYPE_NORMAL; conf->use_softkey = 1; conf->softkey_size = 42; + } + if (!mod->conf->desks) + { zone = e_zone_current_get(e_comp); desk = e_desk_current_get(zone); - _pol_conf_desk_add(conf, desk); + _pol_conf_desk_add(mod->conf, desk); } } -- 2.7.4