Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
Tag: branch-exp
main.c setup.c
Log Message:
Fix nested mode.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/main.c,v
retrieving revision 1.99.2.21
retrieving revision 1.99.2.22
diff -u -3 -r1.99.2.21 -r1.99.2.22
--- main.c 7 Sep 2004 20:06:55 -0000 1.99.2.21
+++ main.c 9 Sep 2004 19:16:18 -0000 1.99.2.22
@@ -161,7 +161,8 @@
Mode.wm.restart = 1;
}
#endif
- else if ((!strcmp("-window", argv[i])) && (argc - i > 1))
+ else if ((!strcmp("-w", argv[i]) || !strcmp("-window", argv[i])) &&
+ (argc - i > 1))
{
sscanf(argv[++i], "%dx%d", &VRoot.w, &VRoot.h);
Mode.wm.window = 1;
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/setup.c,v
retrieving revision 1.139.2.12
retrieving revision 1.139.2.13
diff -u -3 -r1.139.2.12 -r1.139.2.13
--- setup.c 7 Sep 2004 20:06:56 -0000 1.139.2.12
+++ setup.c 9 Sep 2004 19:16:18 -0000 1.139.2.13
@@ -243,6 +243,7 @@
CWOverrideRedirect | CWSaveUnder |
CWBackingStore | CWColormap | CWBackPixel |
CWBorderPixel, &attr);
+ ERegisterWindow(disp, VRoot.win);
xtp.encoding = XA_STRING;
xtp.format = 8;
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs