aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-04-10 08:55:38 +0200
committermarha <marha@users.sourceforge.net>2012-04-10 08:55:38 +0200
commitbf59764a4685c4bef029eddfa75d7496d2a91ae0 (patch)
tree5a19cb35ad79f8ba8539f7f531947d98a99d0155
parent293cb3a35986497d1414ffc809dc2d5335e4c5ad (diff)
downloadvcxsrv-bf59764a4685c4bef029eddfa75d7496d2a91ae0.tar.gz
vcxsrv-bf59764a4685c4bef029eddfa75d7496d2a91ae0.tar.bz2
vcxsrv-bf59764a4685c4bef029eddfa75d7496d2a91ae0.zip
Solved problem when specifying -fullscreen on command line because default
resizing behaviour was changed to resize (which is not allowed in fullscreen)
-rw-r--r--xorg-server/hw/xwin/winprocarg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/winprocarg.c b/xorg-server/hw/xwin/winprocarg.c
index bb7f2fd94..c391dae7c 100644
--- a/xorg-server/hw/xwin/winprocarg.c
+++ b/xorg-server/hw/xwin/winprocarg.c
@@ -535,6 +535,8 @@ ddxProcessArgument(int argc, char *argv[], int i)
screenInfoPtr->fMultipleMonitors = FALSE;
#endif
screenInfoPtr->fFullScreen = TRUE;
+ // resizing is not allowed in full screen so change the default to not allowed
+ screenInfoPtr->iResizeMode=notAllowed;
/* Indicate that we have processed this argument */
return 1;