aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-28 09:32:08 +0000
committermarha <marha@users.sourceforge.net>2009-09-28 09:32:08 +0000
commitbde45e68ad254e7fe92e1afc15f4512ee217d31a (patch)
treeac000c6a2058d34fc716daf4b25e2d6c1758101e /xorg-server
parent1f7d7f73b06b5add892a284bf563e3f01a60df52 (diff)
downloadvcxsrv-bde45e68ad254e7fe92e1afc15f4512ee217d31a.tar.gz
vcxsrv-bde45e68ad254e7fe92e1afc15f4512ee217d31a.tar.bz2
vcxsrv-bde45e68ad254e7fe92e1afc15f4512ee217d31a.zip
Also install xerrordb file.
Added extra information in error message of winMultiWindowXMsgProcErrorHandler
Diffstat (limited to 'xorg-server')
-rw-r--r--xorg-server/hw/xwin/winmultiwindowwm.c11
-rw-r--r--xorg-server/installer/vcxsrv.nsi6
-rw-r--r--xorg-server/makefile7
3 files changed, 19 insertions, 5 deletions
diff --git a/xorg-server/hw/xwin/winmultiwindowwm.c b/xorg-server/hw/xwin/winmultiwindowwm.c
index 8d7cea99b..ed0f4b0a2 100644
--- a/xorg-server/hw/xwin/winmultiwindowwm.c
+++ b/xorg-server/hw/xwin/winmultiwindowwm.c
@@ -1317,7 +1317,16 @@ winMultiWindowXMsgProcErrorHandler (Display *pDisplay, XErrorEvent *pErr)
pErr->error_code,
pszErrorMsg,
sizeof (pszErrorMsg));
- ErrorF ("winMultiWindowXMsgProcErrorHandler - ERROR: %s\n", pszErrorMsg);
+ ErrorF ("winMultiWindowXMsgProcErrorHandler - ERROR: %s\n"
+ " errorCode %d\n"
+ " resourceID %d\n"
+ " majorCode %d\n"
+ " minorCode %d\n"
+ , pszErrorMsg
+ , pErr->error_code
+ , pErr->resourceid
+ , pErr->request_code
+ , pErr->minor_code);
return 0;
}
diff --git a/xorg-server/installer/vcxsrv.nsi b/xorg-server/installer/vcxsrv.nsi
index 6b66a4cd6..be8258f92 100644
--- a/xorg-server/installer/vcxsrv.nsi
+++ b/xorg-server/installer/vcxsrv.nsi
@@ -62,7 +62,8 @@ Section "VcXsrv (required)"
File "..\protocol.txt"
File "..\system.XWinrc"
File "..\..\xkbcomp\obj\release\xkbcomp.exe"
- File "..\xkeysymdb"
+ File "..\XKeysymDB"
+ File "..\XErrorDB"
File "..\hw\xwin\xlaunch\obj\release\xlaunch.exe"
File "..\..\tools\plink\obj\release\plink.exe"
SetOutPath $INSTDIR\fonts
@@ -157,7 +158,8 @@ Section "Uninstall"
Delete "$INSTDIR\protocol.txt"
Delete "$INSTDIR\system.XWinrc"
Delete "$INSTDIR\xkbcomp.exe"
- Delete "$INSTDIR\xkeysymdb"
+ Delete "$INSTDIR\XKeysymDB"
+ Delete "$INSTDIR\XErrorDB"
Delete "$INSTDIR\xlaunch.exe"
RMDir /r "$INSTDIR\fonts"
diff --git a/xorg-server/makefile b/xorg-server/makefile
index 519a5be53..bdbae3802 100644
--- a/xorg-server/makefile
+++ b/xorg-server/makefile
@@ -82,6 +82,9 @@ $(OBJDIR)\$(TTYAPP).exe: $(LINKLIBS)
XKeysymDB: ..\libX11\src\XKeysymDB
copy $< $@
+XErrorDB: ..\libX11\src\XErrorDB
+ copy $< $@
+
$(TTYAPP).exe: $(OBJDIR)\$(TTYAPP).exe
copy $< $@
@@ -104,8 +107,8 @@ load_makefile ..\libX11\nls\makefile MAKESERVER=0 DEBUG=0
load_makefile fonts.src\makefile MAKESERVER=0 DEBUG=0
load_makefile xkbdata.src\makefile MAKESERVER=0 DEBUG=0
-all: $(TTYAPP).exe xlaunch.exe xkbcomp.exe protocol.txt XKeysymDB ..\libX11\nls\all fonts.src\all xkbdata.src\all \
- plink.exe
+all: $(TTYAPP).exe xlaunch.exe xkbcomp.exe protocol.txt XKeysymDB XErrorDB \
+ ..\libX11\nls\all fonts.src\all xkbdata.src\all plink.exe
protocol.txt: dix\protocol.txt
copy $< $@