aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winmultiwindowwm.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-14 16:50:42 +0000
committermarha <marha@users.sourceforge.net>2011-02-14 16:50:42 +0000
commit9859910a8168b9c13e9e9952a03de91d51293484 (patch)
tree91c8ee0a8422b31223cbd607fc84299bc1f6ef1b /xorg-server/hw/xwin/winmultiwindowwm.c
parented5dd0a1f9eea43219b4c678ec062f614413eea2 (diff)
downloadvcxsrv-9859910a8168b9c13e9e9952a03de91d51293484.tar.gz
vcxsrv-9859910a8168b9c13e9e9952a03de91d51293484.tar.bz2
vcxsrv-9859910a8168b9c13e9e9952a03de91d51293484.zip
Only call XSupportsLocale in one place. Switch to a known locale when it fails
Diffstat (limited to 'xorg-server/hw/xwin/winmultiwindowwm.c')
-rw-r--r--xorg-server/hw/xwin/winmultiwindowwm.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/xorg-server/hw/xwin/winmultiwindowwm.c b/xorg-server/hw/xwin/winmultiwindowwm.c
index 03951ee8d..da82c0611 100644
--- a/xorg-server/hw/xwin/winmultiwindowwm.c
+++ b/xorg-server/hw/xwin/winmultiwindowwm.c
@@ -51,7 +51,6 @@ typedef int pid_t;
#include <X11/X.h>
#include <X11/Xatom.h>
#include <X11/Xlib.h>
-#include <X11/Xlocale.h>
#include <X11/Xproto.h>
#include <X11/Xutil.h>
#include <X11/cursorfont.h>
@@ -819,12 +818,6 @@ winMultiWindowXMsgProc (void *pArg)
winDebug ("winMultiWindowXMsgProc - pthread_mutex_lock () returned.\n");
- /* See if X supports the current locale */
- if (XSupportsLocale () == False)
- {
- ErrorF ("winMultiWindowXMsgProc - Warning: locale not supported by X\n");
- }
-
/* Release the server started mutex */
pthread_mutex_unlock (pProcArg->ppmServerStarted);
@@ -1229,12 +1222,6 @@ winInitMultiWindowWM (WMInfoPtr pWMInfo, WMProcArgPtr pProcArg)
winDebug ("winInitMultiWindowWM - pthread_mutex_lock () returned.\n");
- /* See if X supports the current locale */
- if (XSupportsLocale () == False)
- {
- ErrorF ("winInitMultiWindowWM - Warning: Locale not supported by X.\n");
- }
-
/* Release the server started mutex */
pthread_mutex_unlock (pProcArg->ppmServerStarted);