summaryrefslogtreecommitdiffstats
path: root/src/pvs.cpp
diff options
context:
space:
mode:
authorSebastien Braun2010-10-05 15:07:43 +0200
committerSebastien Braun2010-10-05 18:15:50 +0200
commitc5c46660130456afea285e460be44e1c723e4a49 (patch)
treebbfbfac760c26fc2618f288c466c0e2b6df84c20 /src/pvs.cpp
parentRemove unnecessary Qt dependency from inputEvent.cpp (diff)
downloadpvs-c5c46660130456afea285e460be44e1c723e4a49.tar.gz
pvs-c5c46660130456afea285e460be44e1c723e4a49.tar.xz
pvs-c5c46660130456afea285e460be44e1c723e4a49.zip
Refactor InputEvent handler code.
- Make static methods virtual and store instances in the chains. - Propagate security context information. - Saner security policy implementation.
Diffstat (limited to 'src/pvs.cpp')
-rw-r--r--src/pvs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pvs.cpp b/src/pvs.cpp
index e44d04d..911ed0d 100644
--- a/src/pvs.cpp
+++ b/src/pvs.cpp
@@ -16,7 +16,7 @@
#include "src/net/pvsServiceDiscovery.h"
#include "src/net/pvsDiscoveredServer.h"
#include "src/input/inputEvent.h"
-#include "src/input/unprivilegedHandlerChain.h"
+#include "src/input/inputHandlerChain.h"
#include "src/input/x11InputUtils.h"
// D-Bus
@@ -643,11 +643,11 @@ void PVS::handleInputEvent(InputEvent const& evt)
{
std::string s = evt.toString();
ConsoleLog writeLine(QString("Received input event: %1").arg(s.c_str()));
- unprivileged_handler_chain::handle(evt);
+ _inputEventHandlers.handle(evt);
}
void PVS::initializeInputEventHandling()
{
X11InputUtils::setDisplay(X11Info::display());
- unprivileged_handler_chain::initialize();
+ _inputEventHandlers.initialize();
}