Skip to content

ximagesink, xvimagesink: don't use XkbKeycodeToKeysym if Xkb is unavailable

ximagesink and xvimagesink use XkbKeycodeToKeysym when the key event is received. However, this function returns NoSymbol if Xkb is unavailable.

This causes all key events to be translated to "unknown" key when running ximagsink under some VNC.

Fix it by using XKeycodeToKeysym if Xkb is unavailable.

Edited by Tim-Philipp Müller

Merge request reports