Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        pager.c 


Log Message:
Fix pager update when dragging to other desktop.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/pager.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -3 -r1.67 -r1.68
--- pager.c     21 Feb 2004 13:47:58 -0000      1.67
+++ pager.c     21 Feb 2004 15:38:09 -0000      1.68
@@ -1760,6 +1760,8 @@
      }
    else if (((int)ev->xbutton.button == conf.pagers.win_button))
      {
+       int                 prev_desk = -1;
+
        if (win == p->hi_win)
          {
             int                 hx, hy;
@@ -1915,6 +1917,11 @@
          {
             RedrawPagersForDesktop(p->hi_ewin->desktop, 3);
             ForceUpdatePagersForDesktop(p->hi_ewin->desktop);
+            if (prev_desk >= 0 && prev_desk != p->hi_ewin->desktop)
+              {
+                 RedrawPagersForDesktop(prev_desk, 3);
+                 ForceUpdatePagersForDesktop(prev_desk);
+              }
             PagerHideHi(p);
          }
 




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to