Skip to content
  • Martin Flöser's avatar
    Unset XKB_DEFAULT_* in tests to make tests better reproducable · 0e839c4d
    Martin Flöser authored
    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
    0e839c4d