[xorg-commit-diffs] xc/programs/Xserver/hw/xwin winvalargs.c,
1.1.2.4, 1.1.2.5
Alexander Gottwald
xorg-commit at pdx.freedesktop.org
Fri Apr 23 21:41:45 EST 2004
- Previous message: [xorg-commit-diffs] xc/programs/Xserver/hw/xwin Imakefile,
1.1.4.1.2.15, 1.1.4.1.2.16 win.h, 1.1.4.1.2.29,
1.1.4.1.2.30 wincursor.c, 1.1.4.1.2.4,
1.1.4.1.2.5 winmultiwindowwndproc.c, 1.1.6.17,
1.1.6.18 winpriv.c, 1.1.2.5, 1.1.2.6 winscrinit.c,
1.1.4.1.2.17, 1.1.4.1.2.18 winwin32rootlesswndproc.c, 1.1.2.10,
1.1.2.11
- Next message: [xorg-commit-diffs] xc/programs/Xserver/hw/xwin
winwin32rootlesscursor.c, 1.1.2.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: ago
Update of /cvs/xorg/xc/programs/Xserver/hw/xwin
In directory pdx:/tmp/cvs-serv31311
Modified Files:
Tag: CYGWIN
winvalargs.c
Log Message:
allow screen combinations with
XWin -query host -screen 0 -screen 1 -multiwindow
This gives an xdmcp session and a second screen where i can display single
windows
Index: winvalargs.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/Attic/winvalargs.c,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- a/winvalargs.c 22 Apr 2004 20:19:53 -0000 1.1.2.4
+++ b/winvalargs.c 23 Apr 2004 11:41:43 -0000 1.1.2.5
@@ -58,6 +58,7 @@
{
int i;
int iMaxConsecutiveScreen = 0;
+ BOOL fHasNormalScreen0 = FALSE;
/*
* Check for a malformed set of -screen parameters.
@@ -108,6 +109,10 @@
if (g_ScreenInfo[i].fRootless)
++iCount;
+ /* Check if the first screen is without rootless and multiwindow */
+ if (iCount == 0 && i == 0)
+ fHasNormalScreen0 = TRUE;
+
/* Fail if two or more conflicting options */
if (iCount > 1)
{
@@ -118,7 +123,8 @@
}
/* Check for -multiwindow or -mwextwm and Xdmcp */
- if (g_fXdmcpEnabled
+ /* allow xdmcp if screen 0 is normal. */
+ if (g_fXdmcpEnabled && !fHasNormalScreen0
&& (FALSE
#ifdef XWIN_MULTIWINDOW
|| g_ScreenInfo[i].fMultiWindow
- Previous message: [xorg-commit-diffs] xc/programs/Xserver/hw/xwin Imakefile,
1.1.4.1.2.15, 1.1.4.1.2.16 win.h, 1.1.4.1.2.29,
1.1.4.1.2.30 wincursor.c, 1.1.4.1.2.4,
1.1.4.1.2.5 winmultiwindowwndproc.c, 1.1.6.17,
1.1.6.18 winpriv.c, 1.1.2.5, 1.1.2.6 winscrinit.c,
1.1.4.1.2.17, 1.1.4.1.2.18 winwin32rootlesswndproc.c, 1.1.2.10,
1.1.2.11
- Next message: [xorg-commit-diffs] xc/programs/Xserver/hw/xwin
winwin32rootlesscursor.c, 1.1.2.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the xorg-commit-diffs
mailing list