Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_menu.c 


Log Message:
and don't forget to update popup coordinates...
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_menu.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- ewl_menu.c  21 Jan 2005 17:50:50 -0000      1.28
+++ ewl_menu.c  21 Jan 2005 18:03:03 -0000      1.29
@@ -76,8 +76,8 @@
        emb = ewl_embed_widget_find(w);
 
        ewl_window_position_get(EWL_WINDOW(emb), &x, &y);
-       x += CURRENT_X(w);
-       y += CURRENT_Y(w);
+       menu->popup_x = x + CURRENT_X(w);
+       menu->popup_y = y + CURRENT_Y(w);
 
        /*
         * Position the popup menu relative to the menu.




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to