diff options
author | Sebastien Braun | 2010-10-10 01:41:25 +0200 |
---|---|---|
committer | Sebastien Braun | 2010-10-10 14:05:36 +0200 |
commit | bdec8a3b34650603b111261cfed0364acf6656b7 (patch) | |
tree | dc6200fe5ddd746e9ffdf992e42007f822a3c069 /src/input | |
parent | Lose the `get' method prefix on InputEventContext since it does not fit in (diff) | |
download | pvs-bdec8a3b34650603b111261cfed0364acf6656b7.tar.gz pvs-bdec8a3b34650603b111261cfed0364acf6656b7.tar.xz pvs-bdec8a3b34650603b111261cfed0364acf6656b7.zip |
Fix wrong policy: KillX11Handler only works on Linux, due to dependency on the /proc file system's layout.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/killX11Handler.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/input/killX11Handler.h b/src/input/killX11Handler.h index 8c0d655..77d9fdb 100644 --- a/src/input/killX11Handler.h +++ b/src/input/killX11Handler.h @@ -22,10 +22,7 @@ class KillX11Handler : public InputEventHandler< input_policy::Match<InputEvent::ET_SPECIAL, InputEvent::EC_KILL_X>, - input_policy::Require<input_policy::AllOf< - input_policy::UnixLike, - input_policy::X11GUI, - input_policy::ConsoleKitSupported> > > + input_policy::Require<input_policy::LinuxSystem> > { public: void doHandle(InputEvent const&, InputEventContext const*); |