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
This commit is contained in:
Christopher Michael 2010-02-01 06:54:34 +00:00
parent 07648d4b12
commit c23d487d74
2 changed files with 5 additions and 3 deletions

View File

@ -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)

View File

@ -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);