Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        buttons.c menus.c 


Log Message:
Fix initial menu rendering in certain situations.

===================================================================
RCS file: /cvs/e/e16/e/src/buttons.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -3 -r1.92 -r1.93
--- buttons.c   30 Apr 2006 13:23:01 -0000      1.92
+++ buttons.c   22 Jun 2006 02:39:03 -0000      1.93
@@ -550,15 +550,14 @@
 
    GrabPointerRelease();
 
-   if (b->aclass && !b->left && !Mode_buttons.action_inhibit)
-      ButtonDoAction(b, ev);
-
    b->left = 0;
 
    if (Mode.mode == MODE_BUTTONDRAG)
       ButtonDragEnd(Mode_buttons.button);
    Mode_buttons.button = NULL;
 
+   if (b->aclass && !b->left && !Mode_buttons.action_inhibit)
+      ButtonDoAction(b, ev);
    Mode_buttons.action_inhibit = 0;
 }
 
===================================================================
RCS file: /cvs/e/e16/e/src/menus.c,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -3 -r1.249 -r1.250
--- menus.c     5 Jun 2006 20:57:07 -0000       1.249
+++ menus.c     22 Jun 2006 02:39:03 -0000      1.250
@@ -195,7 +195,10 @@
 {
    Menu               *m = ewin->data;
 
-   if (!m || Mode.mode != MODE_NONE)
+   if (!m)
+      return;
+
+   if (Mode.mode != MODE_NONE && !m->redraw)
       return;
 
    if (TransparencyUpdateNeeded())



All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to