From c23d487d74335865cc6752c2bb3176a56375ecba Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Mon, 1 Feb 2010 06:54:34 +0000 Subject: [PATCH] Seems we cannot set the window type (for indicator) until After the window is shown, else E just overwrites whatever type we set. SVN revision: 45764 --- src/modules/illume-indicator/e_mod_ind_win.c | 6 +++--- src/modules/illume-indicator/e_mod_main.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/modules/illume-indicator/e_mod_ind_win.c b/src/modules/illume-indicator/e_mod_ind_win.c index 2b8e93ceb..57fad6c18 100644 --- a/src/modules/illume-indicator/e_mod_ind_win.c +++ b/src/modules/illume-indicator/e_mod_ind_win.c @@ -47,9 +47,6 @@ e_mod_ind_win_new(E_Zone *zone) states[1] = ECORE_X_WINDOW_STATE_SKIP_PAGER; ecore_x_netwm_window_state_set(iwin->win->evas_win, states, 2); - /* set this window to be a 'dock' window */ - ecore_x_netwm_window_type_set(iwin->win->evas_win, ECORE_X_WINDOW_TYPE_DOCK); - /* set this window to not accept or take focus */ ecore_x_icccm_hints_set(iwin->win->evas_win, 0, 0, 0, 0, 0, 0, 0); @@ -114,6 +111,9 @@ e_mod_ind_win_new(E_Zone *zone) /* show the window */ e_win_show(iwin->win); + /* set this window to be a 'dock' window */ + ecore_x_netwm_window_type_set(iwin->win->evas_win, ECORE_X_WINDOW_TYPE_DOCK); + /* get the current illume mode and lock dragging if we need to */ mode = ecore_x_e_illume_mode_get(zone->black_win); if (mode == ECORE_X_ILLUME_MODE_DUAL_TOP) diff --git a/src/modules/illume-indicator/e_mod_main.c b/src/modules/illume-indicator/e_mod_main.c index 92a415e35..fbe5850a6 100644 --- a/src/modules/illume-indicator/e_mod_main.c +++ b/src/modules/illume-indicator/e_mod_main.c @@ -16,6 +16,8 @@ e_modapi_init(E_Module *m) E_Manager *man; Eina_List *l; + e_module_priority_set(m, 90); + /* setup variable to hold module directory */ _ind_mod_dir = eina_stringshare_add(m->dir);