Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_border.c 


Log Message:


and when raising dont raise above menus! :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -3 -r1.48 -r1.49
--- e_border.c  6 Jan 2005 09:08:14 -0000       1.48
+++ e_border.c  7 Jan 2005 04:02:03 -0000       1.49
@@ -353,10 +353,20 @@
 void
 e_border_raise(E_Border *bd)
 {
+   Ecore_X_Window mwin;
+   
    E_OBJECT_CHECK(bd);
    bd->container->clients = evas_list_remove(bd->container->clients, bd);
    bd->container->clients = evas_list_append(bd->container->clients, bd);
-   ecore_x_window_raise(bd->win);
+   mwin = e_menu_grab_window_get();
+   if (!mwin)
+     ecore_x_window_raise(bd->win);
+   else
+     ecore_x_window_configure(bd->win,
+                             ECORE_X_WINDOW_CONFIGURE_MASK_SIBLING |
+                             ECORE_X_WINDOW_CONFIGURE_MASK_STACK_MODE,
+                             0, 0, 0, 0, 0, 
+                             mwin, ECORE_X_WINDOW_STACK_BELOW);
 }
 
 void
@@ -584,6 +594,7 @@
        bd->saved.h = bd->h;
 
        /* FIXME maximize intelligently */
+       e_border_raise(bd);
        e_border_move_resize(bd, 0, 0, bd->zone->w, bd->zone->h);
        bd->maximized = 1;
        bd->changes.pos = 1;




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to