You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xserver/xkb
Peter Hutterer 2c6989f81e xkb: fix XkbSetMap check for the keytypes count
The previous if/else condition resulted in us always setting the key
type count to the current number of key types. Split this up correctly.

Regression introduced in de940e06f8

Fixes #1249

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit be16bd8543)
3 years ago
..
Makefile.am XKB: Remove component listing support 12 years ago
README.compiled R6.6 is the Xorg base-line 21 years ago
XKBAlloc.c Convert XKB to new *allocarray functions 10 years ago
XKBGAlloc.c xkb: Fix heap overflow caused by optimized away min. 4 years ago
XKBMAlloc.c xserver: Unifdef HAVE_CONFIG_H 8 years ago
XKBMisc.c xkb: always set *mask_rtrn in XkbVirtualModsToReal 4 years ago
XKM_file_format.txt Fix spelling/wording issues 4 years ago
ddxBeep.c Drop trailing whitespaces 10 years ago
ddxCtrls.c Drop trailing whitespaces 10 years ago
ddxKillSrv.c Drop trailing whitespaces 10 years ago
ddxLEDs.c Drop trailing whitespaces 10 years ago
ddxLoad.c xkb: don't require a trailing slash for the XKM output dir 4 years ago
ddxPrivate.c Introduce a consistent coding style 13 years ago
ddxVT.c Drop trailing whitespaces 10 years ago
maprules.c xkb: fix check for appending '|' character when applying rules 8 years ago
meson.build Add a Meson build system alongside autotools. 8 years ago
xkb.c xkb: fix XkbSetMap check for the keytypes count 3 years ago
xkb.h Move extension initialisation prototypes into extinit.h 13 years ago
xkbAccessX.c xkb: add hook to allow/deny AccessX key repeat 9 years ago
xkbActions.c XKB: Add debug key actions for grabs & window tree 4 years ago
xkbDflts.h Use ARRAY_SIZE all over the tree 7 years ago
xkbEvents.c dix: Squash some new gcc6 warnings 9 years ago
xkbInit.c xkb: Write the _XKB_RULES_NAMES window property synchronously 6 years ago
xkbLEDs.c xkb: after changing the keymap, force an indicator update 9 years ago
xkbPrKeyEv.c xkb: Match key releases with an overlaid press 8 years ago
xkbSwap.c Fix XkbSelectEvents() integer underflow 4 years ago
xkbUtils.c xkb: initialize tsyms 7 years ago
xkbfmisc.c Drop trailing whitespaces 10 years ago
xkbgeom.h Drop trailing whitespaces 10 years ago
xkbout.c Drop trailing whitespaces 10 years ago
xkbtext.c xkb: Silence a warning from gcc 11 3 years ago
xkmread.c xkb: Fix parsing of XkbSA_DeviceValuator action type 4 years ago

README.compiled

The X server uses this directory to store the compiled version of the
current keymap and/or any scratch keymaps used by clients.  The X server
or some other tool might destroy or replace the files in this directory,
so it is not a safe place to store compiled keymaps for long periods of
time.  The default keymap for any server is usually stored in:
     X<num>-default.xkm
where <num> is the display number of the server in question, which makes
it possible for several servers *on the same host* to share the same 
directory.

Unless the X server is modified, sharing this directory between servers on
different hosts could cause problems.