Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_menu.c 


Log Message:
Set the coordinates for the popup window.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_menu.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- ewl_menu.c  9 Dec 2004 05:26:09 -0000       1.25
+++ ewl_menu.c  19 Jan 2005 15:07:41 -0000      1.26
@@ -75,12 +75,9 @@
 
        emb = ewl_embed_widget_find(w);
 
-       if (ewl_widget_type_is(EWL_WIDGET(emb), "window"))
-               ewl_window_position_get(EWL_WINDOW(emb), &x, &y);
-       else {
-               x = CURRENT_X(w);
-               y = CURRENT_Y(w);
-       }
+       ewl_window_position_get(EWL_WINDOW(emb), &x, &y);
+       x += CURRENT_X(w);
+       y += CURRENT_Y(w);
 
        /*
         * Position the popup menu relative to the menu.




-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to