Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        iconify.c 


Log Message:
Yet another systray fix.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/iconify.c,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -3 -r1.182 -r1.183
--- iconify.c   12 Oct 2005 17:20:42 -0000      1.182
+++ iconify.c   18 Oct 2005 15:45:45 -0000      1.183
@@ -2815,19 +2815,16 @@
    EventCallbackRegister(win, 0, SystrayEvent, ib);
    EReparentWindow(win, ib->icon_win, 0, 0);
 
-   EUngrabServer();
-
    if (swin->mapped)
-     {
-       XMapWindow(disp, win);
-       IconboxRedraw(ib);
-     }
+      EMapWindow(win);
 
    /* TBD - Always set protocol version as reported by client */
    ecore_x_client_message32_send(win, E_XA__XEMBED, NoEventMask,
                                 CurrentTime, XEMBED_EMBEDDED_NOTIFY, 0,
                                 win, xembed_info[0]);
 
+   EUngrabServer();
+
    return;                     /* Success */
 
  bail_out:
@@ -2967,6 +2964,7 @@
      {
      case MapNotify:
        EWindowSync(ev->xmap.window);
+       IconboxRedraw(prm);
        break;
 
      case DestroyNotify:




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to