summaryrefslogtreecommitdiffstats
path: root/src/input/x11FakeKeyboardHandler.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/input/x11FakeKeyboardHandler.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/input/x11FakeKeyboardHandler.cpp')
-rw-r--r--src/input/x11FakeKeyboardHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/x11FakeKeyboardHandler.cpp b/src/input/x11FakeKeyboardHandler.cpp
index 82cc437..3a0b864 100644
--- a/src/input/x11FakeKeyboardHandler.cpp
+++ b/src/input/x11FakeKeyboardHandler.cpp
@@ -20,6 +20,7 @@
// Qt headers need to be included before X11 headers
#include <QApplication>
#include <QtCore>
+#include "x11FakeKeyboardHandler.h"
// #include <multimap>
#include <X11/X.h>
#include <X11/Xlib.h>
@@ -30,7 +31,6 @@
#include <X11/XKBlib.h>
#include <src/util/consoleLogger.h>
#include "x11InputUtils.h"
-#include "x11FakeKeyboardHandler.h"
//////////////////////// INPUT EVENT TRANSLATION /////////////////////////////////
@@ -766,7 +766,7 @@ void X11FakeKeyboardHandler::initialize()
current_modifiers = 0;
}
-void X11FakeKeyboardHandler::handle(InputEvent const& evt)
+void X11FakeKeyboardHandler::handle(InputEvent const& evt, InputEventContext const*)
{
Display* dpy = X11InputUtils::display();