Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h dock.c mod-misc.c 


Log Message:
Make dockapps sticky by default.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.339
retrieving revision 1.340
diff -u -3 -r1.339 -r1.340
--- E.h 2 Jan 2005 15:38:50 -0000       1.339
+++ E.h 6 Jan 2005 00:01:26 -0000       1.340
@@ -881,6 +881,7 @@
    struct
    {
       char                enable;      /* wmdockapp only */
+      char                sticky;      /* Make dockapps sticky by default */
       int                 dirmode;
       int                 startx;
       int                 starty;
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/dock.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- dock.c      28 Dec 2004 23:46:44 -0000      1.20
+++ dock.c      6 Jan 2005 00:01:33 -0000       1.21
@@ -130,6 +130,9 @@
    Esnprintf(id, sizeof(id), "%i", (unsigned)ewin->client.win);
    ic = FindItem("DEFAULT_DOCK_BUTTON", 0, LIST_FINDBY_NAME, LIST_TYPE_ICLASS);
 
+   if (Conf.dock.sticky)
+      EoSetSticky(ewin, 1);
+
    ecore_x_ungrab();
 
    DockappFindEmptySpotFor(ewin);
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/mod-misc.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- mod-misc.c  28 Dec 2004 23:46:46 -0000      1.2
+++ mod-misc.c  6 Jan 2005 00:01:33 -0000       1.3
@@ -148,6 +148,7 @@
    CFG_ITEM_BOOL(Conf, dialogs.headers, 0),
 
    CFG_ITEM_BOOL(Conf, dock.enable, 1),
+   CFG_ITEM_BOOL(Conf, dock.sticky, 1),
    CFG_ITEM_INT(Conf, dock.dirmode, DOCK_DOWN),
    CFG_ITEM_INT(Conf, dock.startx, 0),
    CFG_ITEM_INT(Conf, dock.starty, 0),




-------------------------------------------------------
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