Move setting window type until after window is shown.
authorChristopher Michael <cpmichael1@comcast.net>
Mon, 1 Feb 2010 06:55:19 +0000 (06:55 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Mon, 1 Feb 2010 06:55:19 +0000 (06:55 +0000)
SVN revision: 45765

src/modules/illume-softkey/e_mod_main.c
src/modules/illume-softkey/e_mod_sft_win.c

index 59b06a2..102241b 100644 (file)
@@ -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);
 
index 7054298..a7db7f3 100644 (file)
@@ -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)),