Diffusion KWin 0e839c4dda26

Unset XKB_DEFAULT_* in tests to make tests better reproducable

Authored by graesslin on Nov 7 2018, 3:09 PM.

Description

Unset XKB_DEFAULT_* in tests to make tests better reproducable

Summary:
On one of my systems XKB_DEFAULT_LAYOUT is set to "de". This makes a few
tests fail, e.g. pointer input and modifier only shortcuts.

The reason is that those tests assume the xkb default layout behavior,
that is how xkb functions without any layout being set. So having the
env variable around influences the layout generation.

To prevent this the environment variables are unset and thus a
reproducable environment is created.

Reviewers: KWin

Subscribers: kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D16737