Re: [PATCH gtk-vnc] vncdisplaykeymap: Use XkbGetMap and XkbGetNames instead of XkbGetKeyboard



On Fri, Feb 27, 2015 at 02:39:03PM +0100, Pavel Grunt wrote:
XkbGetKeyboard does not work in XWayland (bfo#89240).

Copied from spice-gtk: 95e322a6bbc29dc9c28724fb80706464e276b89f
---
Hi, I know that gtk-vnc is already working in XWayland, but the check for XWayland relies on the 
environment variable "WAYLAND_DISPLAY".
We solved the "XWayland keymap issue" in spice-gtk by using XkbGetMap and XkbGetNames instead of 
XkbGetKeyboard.

Excellant, that's a nicer approach to discover.

I've pushed the patch.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]