Raise init and menu window on startup.

SVN revision: 14592
This commit is contained in:
sebastid 2005-05-04 06:39:37 +00:00 committed by sebastid
parent 72d02e9a1b
commit c493f32987
2 changed files with 10 additions and 1 deletions

1
TODO
View File

@ -55,7 +55,6 @@ Also look at all the .c files - they have their own localized TODO lists
These are in no particular order:
* init splash is BELOW client windows on startup (if windows exist at start time or start before the splash goes away)
* dropshadow screws up when shadow becomes too thin (and transitions to different mode) and back.
* mplayer fullscreen screws up (reparenting issues)
* check window max size. if < size of zone (or maximisation area) disallow maximising and tell border edje object (via signals) to somehow disable the maximise buttons :) (and remove from the menu)

View File

@ -44,6 +44,7 @@ e_container_new(E_Manager *man)
char name[40];
Evas_List *l, *screens;
int i;
Ecore_X_Window mwin;
con = E_OBJECT_ALLOC(E_Container, E_CONTAINER_TYPE, _e_container_free);
if (!con) return NULL;
@ -112,6 +113,15 @@ e_container_new(E_Manager *man)
con->layers[i - 1], ECORE_X_WINDOW_STACK_ABOVE);
}
mwin = e_init_window_get();
if (mwin)
ecore_x_window_configure(mwin,
ECORE_X_WINDOW_CONFIGURE_MASK_SIBLING |
ECORE_X_WINDOW_CONFIGURE_MASK_STACK_MODE,
0, 0, 0, 0, 0,
con->layers[6], ECORE_X_WINDOW_STACK_ABOVE);
screens = (Evas_List *)e_xinerama_screens_get();
if (screens)
{