Fix potential keyboard hangup (STR #3192).

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2015-02-20 22:30:04 +00:00
parent 93372a77c1
commit 958d912ffc

View File

@ -670,7 +670,7 @@ void fl_open_display() {
if (fl_display) return; if (fl_display) return;
setlocale(LC_CTYPE, ""); setlocale(LC_CTYPE, "");
XSetLocaleModifiers(""); XSetLocaleModifiers("@im=");
XSetIOErrorHandler(io_error_handler); XSetIOErrorHandler(io_error_handler);
XSetErrorHandler(xerror_handler); XSetErrorHandler(xerror_handler);