Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h actions.c 


Log Message:
Another (partial) fix to incorrect menu placement.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.313
retrieving revision 1.314
diff -u -3 -r1.313 -r1.314
--- E.h 25 Jul 2004 09:57:30 -0000      1.313
+++ E.h 26 Jul 2004 18:54:48 -0000      1.314
@@ -1255,7 +1255,9 @@
    Menu               *cur_menu[256];
    Window              menu_cover_win;
    Window              menu_win_covered;
+#if 1                          /* Should be removed */
    int                 context_w, context_h;
+#endif
    char                constrained;
    char                nogroup;
    char                keybinds_changed;
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/actions.c,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -3 -r1.173 -r1.174
--- actions.c   25 Jul 2004 09:34:42 -0000      1.173
+++ actions.c   26 Jul 2004 18:54:49 -0000      1.174
@@ -567,11 +567,14 @@
 {
    char                s[1024];
    char                s2[1024];
+
+#if 0
    int                 x, y, di;
    Window              dw;
    unsigned int        w, h, d;
    char                desk_click = 0;
    int                 i;
+#endif
 
    EDBUG(6, "spawnMenu");
 
@@ -581,6 +584,7 @@
    if (Mode.cur_menu_depth > 0)
       EDBUG_RETURN(0);
 
+#if 0                          /* FIXME: Incorrect placement if in deskslide */
    for (i = 0; i < Conf.desks.num; i++)
      {
        if (Mode.context_win == desks.desk[i].win)
@@ -606,6 +610,7 @@
             Mode.context_h = h;
          }
      }
+#endif
 
    if (Mode.button)
       clickmenu = 1;




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to