Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        dock.c 


Log Message:
Fix some dockapp wonkyness.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/dock.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- dock.c      6 Jan 2005 00:01:33 -0000       1.21
+++ dock.c      6 Jan 2005 22:05:07 -0000       1.22
@@ -133,13 +133,17 @@
    if (Conf.dock.sticky)
       EoSetSticky(ewin, 1);
 
-   ecore_x_ungrab();
-
    DockappFindEmptySpotFor(ewin);
    ewin->client.already_placed = 1;
 
    if (ewin->client.icon_win)
-      EMapWindow(disp, ewin->client.icon_win);
+     {
+       XSetWindowBorderWidth(disp, ewin->client.icon_win, 0);
+       XMoveWindow(disp, ewin->client.icon_win, 0, 0);
+       XMapWindow(disp, ewin->client.icon_win);
+     }
+
+   ecore_x_ungrab();
 
    ImageclassApply(ic, EoGetWin(ewin), ewin->client.w, ewin->client.h,
                   0, 0, STATE_NORMAL, 0, ST_BUTTON);




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to