spice/client/x11
Christophe Fergeau 3d31e36bf2 use Xkb to get keyboard modifier mask
To be able to enable/disable keyboard leds on X11, we need to query
the X server for which mask correspond to which led (NumLock,
CapsLock). So far this was done using XKeysymToKeycode and iterating
over X modifier mapping.
Xkb provides XkbKeysymToModifiers for this purpose, and since
we're using Xkb anyway, it makes more sense to use it.

At some point, on my Fedora 15 box, XKeysymToKeycode was returning
NoSymbol for CapsLock and NumLock leading to spicec not being able
to change the keyboard leds when qemu tells it to. However, I couldn't
reproduce this when I tried again :-/
2011-08-17 10:42:19 +02:00
..
images autotools: refactor the whole build machinery 2011-05-03 14:44:10 +02:00
.gitignore fresh start 2009-10-14 15:06:41 +02:00
atomic_count.h client: Include stdint.h for uint32_t 2010-09-29 12:44:33 +02:00
event_sources_p.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
event_sources_p.h Replace epoll with select in X client 2010-10-12 13:43:44 +02:00
main.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
named_pipe.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
named_pipe.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
pixels_source_p.h s/USE_OGL/USE_OPENGL 2011-05-03 14:44:11 +02:00
pixels_source.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
platform_utils.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
platform_utils.h client: remove unused mb() macro 2011-05-03 14:44:11 +02:00
platform.cpp use Xkb to get keyboard modifier mask 2011-08-17 10:42:19 +02:00
playback.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
playback.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
record.cpp Fix typo: treshold -> threshold 2011-08-02 11:13:49 +02:00
record.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
red_drawable.cpp s/USE_OGL/USE_OPENGL 2011-05-03 14:44:11 +02:00
red_pixmap_gl.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
red_pixmap_sw.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
red_pixmap.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
red_window_p.h s/USE_OGL/USE_OPENGL 2011-05-03 14:44:11 +02:00
red_window.cpp fix 2 X11 related leaks 2011-08-15 11:22:56 +02:00
res.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
res.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
resource.h spicec: Remove spice-client watermark (rhbz#662450) 2010-12-16 14:54:46 +01:00
x_icon.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
x_icon.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
x_platform.h s/USE_OGL/USE_OPENGL 2011-05-03 14:44:11 +02:00