forked from enlightenment/enlightenment
Move setting window type until after window is shown.
SVN revision: 45765
This commit is contained in:
parent
c23d487d74
commit
dc1af1a3f8
|
@ -16,6 +16,8 @@ e_modapi_init(E_Module *m)
|
|||
E_Manager *man;
|
||||
Eina_List *l;
|
||||
|
||||
e_module_priority_set(m, 85);
|
||||
|
||||
/* setup variable to hold module directory */
|
||||
_sft_mod_dir = eina_stringshare_add(m->dir);
|
||||
|
||||
|
|
|
@ -37,9 +37,6 @@ e_mod_sft_win_new(E_Zone *zone)
|
|||
states[1] = ECORE_X_WINDOW_STATE_SKIP_PAGER;
|
||||
ecore_x_netwm_window_state_set(swin->win->evas_win, states, 2);
|
||||
|
||||
/* set this window to be a 'dock' window */
|
||||
ecore_x_netwm_window_type_set(swin->win->evas_win, ECORE_X_WINDOW_TYPE_DOCK);
|
||||
|
||||
/* set this window to not accept or take focus */
|
||||
ecore_x_icccm_hints_set(swin->win->evas_win, 0, 0, 0, 0, 0, 0, 0);
|
||||
|
||||
|
@ -89,6 +86,9 @@ e_mod_sft_win_new(E_Zone *zone)
|
|||
/* show the window */
|
||||
e_win_show(swin->win);
|
||||
|
||||
/* set this window to be a 'dock' window */
|
||||
ecore_x_netwm_window_type_set(swin->win->evas_win, ECORE_X_WINDOW_TYPE_DOCK);
|
||||
|
||||
/* tell illume conformant apps our position and size */
|
||||
ecore_x_e_illume_bottom_panel_geometry_set(ecore_x_window_root_first_get(),
|
||||
zone->x, (zone->h - (32 * e_scale)),
|
||||
|
|
Loading…
Reference in New Issue