aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/GrServer.c
diff options
context:
space:
mode:
authorYann Droneaud <yann@droneaud.fr>2011-10-09 17:56:45 +0200
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:25 +0200
commitbec22fe978b41f36e7d9f47480f1fd24d5a23973 (patch)
tree55351438832d237787911add4fa84ec22f2713a0 /nx-X11/lib/X11/GrServer.c
parentcded3305d3c10f1b3918ea07120fb527f85b7802 (diff)
downloadnx-libs-bec22fe978b41f36e7d9f47480f1fd24d5a23973.tar.gz
nx-libs-bec22fe978b41f36e7d9f47480f1fd24d5a23973.tar.bz2
nx-libs-bec22fe978b41f36e7d9f47480f1fd24d5a23973.zip
Return name instead of value in XGetIMValues() and XSetIMValues()
As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3), XGetIMValues() and XSetImValues() "returns the name of the first argument that could not be obtained." But currently, err = XGetIMValues(im, "invalid", &arg, NULL); returns &arg instead of "invalid". This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897 Signed-off-by: Yann Droneaud <yann@droneaud.fr> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/GrServer.c')
0 files changed, 0 insertions, 0 deletions