From c493f32987bd02da0028d5bcec96a0aa96129dfa Mon Sep 17 00:00:00 2001 From: sebastid Date: Wed, 4 May 2005 06:39:37 +0000 Subject: [PATCH] Raise init and menu window on startup. SVN revision: 14592 --- TODO | 1 - src/bin/e_container.c | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index e6b2a3944..0aaaa192e 100644 --- a/TODO +++ b/TODO @@ -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) diff --git a/src/bin/e_container.c b/src/bin/e_container.c index 531c116a9..88eb9089e 100644 --- a/src/bin/e_container.c +++ b/src/bin/e_container.c @@ -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) {