api: deprecate XKB_MAP_COMPILE_PLACEHOLDER, and use KEYMAP instead of MAP
authorRan Benita <ran234@gmail.com>
Sat, 8 Feb 2014 14:40:20 +0000 (16:40 +0200)
committerRan Benita <ran234@gmail.com>
Sat, 8 Feb 2014 14:40:20 +0000 (16:40 +0200)
commit973b8fd47e885f1c80c715b317fa896f8d31a7a4
treea9a18dd9c3ccc9e2498e2e81e603d06a8064b3fa
parent8cc9434fd2578bc22ce6296b465bbe652b7ecdf1
api: deprecate XKB_MAP_COMPILE_PLACEHOLDER, and use KEYMAP instead of MAP

The PLACEHOLDER was not meant to be used, but c++ doesn't like passing 0
to enums, so it was used. For this reason we add all the NO_FLAGS items,
so the PLACEHOLDER shouldn't be used anymore.

Second, XKB_MAP is the prefix we used ages ago, KEYMAP is the expected
prefix here. So deprecate that as well.

The old names may still be used through the xkbcommon-compat.h header,
which is included by default (no need to include directly).

Signed-off-by: Ran Benita <ran234@gmail.com>
src/keymap.c
src/x11/keymap.c
test/x11.c
xkbcommon/xkbcommon-compat.h
xkbcommon/xkbcommon.h