Diffusion KWin af6f882829a4

Don't include xkbcommon/xkbcommon.h in input.h, forward-declare instead

Authored by arichardson on Mar 28 2014, 8:41 AM.

Description

Don't include xkbcommon/xkbcommon.h in input.h, forward-declare instead

Some systems (e.g. openSuSE) don't install the xkbcommon header into
/usr/include/xkbcommon/xkbcommon.h (which is always in the include path),
but instead into a subdirectory, which is in the openSuSE case
/usr/include/pkg/libxkbcommon/xkbcommon/xkbcommon.h. This means that e.g.
kcm_kwinrules will not compile there since it includes input.h

REVIEW: 117069

Details

Committed
arichardsonMar 28 2014, 8:42 AM
Parents
R108:f271c7dbcaf2: [kwin] Use new connect syntax in useractions.cpp
Branches
Unknown
Tags
Unknown