소스 검색

[Bugfix] Use always XkbConvertCase instead of XConvertCase when compiling

against X.Org 1.8.X and newer. Othewrise keysyms are not mapped correctly
to keycodes.

Reference: https://bugzilla.redhat.com/show_bug.cgi?id=586406


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4057 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.0.90
Adam Tkac 14 년 전
부모
커밋
54d1c0f70f
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6
    1
      unix/xserver/hw/vnc/Input.cc

+ 6
- 1
unix/xserver/hw/vnc/Input.cc 파일 보기

@@ -712,7 +712,12 @@ static KeySym KeyCodetoKeySym(KeySymsPtr keymap, int keycode, int col)
}

if ((per <= (col|1)) || (syms[col|1] == NoSymbol)) {
XConvertCase(syms[col&~1], &lsym, &usym);
#if XORG >= 18
XkbConvertCase
#else
XConvertCase
#endif
(syms[col&~1], &lsym, &usym);
if (!(col & 1))
return lsym;
/*

Loading…
취소
저장