Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        pager.c 


Log Message:
Fix a number of pager glitches.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/pager.c,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -3 -r1.161 -r1.162
--- pager.c     18 Jul 2005 21:52:38 -0000      1.161
+++ pager.c     21 Jul 2005 22:10:57 -0000      1.162
@@ -77,6 +77,7 @@
 static void         PagerCheckUpdate(Pager * p);
 static void         PagerEwinUpdateFromPager(Pager * p, EWin * ewin);
 static void         PagerHiwinHide(Pager * p);
+static EWin        *PagerHiwinEwin(int check);
 static void         PagerEwinGroupSet(void);
 static void         PagerEvent(XEvent * ev, void *prm);
 static void         PagerHiwinEvent(XEvent * ev, void *prm);
@@ -819,6 +820,9 @@
    if (!gone && (!EoIsShown(ewin) || ewin->state.animated))
       return;
 
+   if (gone && ewin == PagerHiwinEwin(0))
+      PagerHiwinHide(NULL);
+
    desk = (EoIsFloating(ewin)) ? DesksGetCurrent() : EoGetDesk(ewin);
    PagersUpdate(desk, EwinGetVX(ewin), EwinGetVY(ewin),
                EwinGetVX2(ewin), EwinGetVY2(ewin));
@@ -1909,6 +1913,10 @@
             break;
          }
        break;
+
+     case LeaveNotify:
+       PagerShowTt(NULL);
+       break;
      }
 }
 
@@ -2318,6 +2326,9 @@
      case ESIGNAL_AREA_CONFIGURED:
        PagersReconfigure();
        break;
+     case ESIGNAL_AREA_SWITCH_START:
+       PagerHiwinHide(NULL);
+       break;
      case ESIGNAL_AREA_SWITCH_DONE:
        PagersUpdate(DesksGetCurrent(), 0, 0, 99999, 99999);
        UpdatePagerSel();
@@ -2329,6 +2340,9 @@
      case ESIGNAL_DESK_REMOVED:
        PagersDisableForDesktop((long)(prm));
        break;
+     case ESIGNAL_DESK_SWITCH_START:
+       PagerHiwinHide(NULL);
+       break;
      case ESIGNAL_DESK_SWITCH_DONE:
        UpdatePagerSel();
        break;




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to