diff --git a/open-vm-tools/services/plugins/desktopEvents/x11Lock.c b/open-vm-tools/services/plugins/desktopEvents/x11Lock.c index ddc68075d..f49d87fda 100644 --- a/open-vm-tools/services/plugins/desktopEvents/x11Lock.c +++ b/open-vm-tools/services/plugins/desktopEvents/x11Lock.c @@ -421,6 +421,8 @@ X11Lock_Init(ToolsAppCtx *ctx, gdk_set_allowed_backends("x11"); #endif /* XXX: is calling gtk_init() multiple times safe? */ + /* gtk_disable_setlocale() must be called before gtk_init() */ + gtk_disable_setlocale(); gtk_init(&argc, (char ***) &argv); if (!AcquireDisplayLock()) {