aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gräßlin <[email protected]>2016-12-30 19:32:47 +0100
committerMartin Gräßlin <[email protected]>2016-12-30 19:32:47 +0100
commita9ac70f00719d6887611e7a3c74d46cf5984e595 (patch)
treef1e477f378eb6d8d0f2b7f7e8cd3763f059c403f
parenta68e77a7113150814b126ded38133e1917f3482c (diff)
It makes sense to actually also build the new input_event_spy.cpp
Sometimes C++ surprises me. How could that compile without being in the build set?
-rw-r--r--CMakeLists.txt1
-rw-r--r--input_event_spy.cpp3
-rw-r--r--input_event_spy.h3
3 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 48ebff9..efd2362 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -368,6 +368,7 @@ set(kwin_KDEINIT_SRCS
globalshortcuts.cpp
input.cpp
input_event.cpp
+ input_event_spy.cpp
keyboard_input.cpp
pointer_input.cpp
touch_input.cpp
diff --git a/input_event_spy.cpp b/input_event_spy.cpp
index 0b1f500..a7538ab 100644
--- a/input_event_spy.cpp
+++ b/input_event_spy.cpp
@@ -20,6 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "input_event_spy.h"
#include "input.h"
+#include <QPointF>
+#include <QSizeF>
+
namespace KWin
{
diff --git a/input_event_spy.h b/input_event_spy.h
index 108dca3..843e148 100644
--- a/input_event_spy.h
+++ b/input_event_spy.h
@@ -23,6 +23,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QtGlobal>
+class QPointF;
+class QSizeF;
+
namespace KWin
{
class KeyEvent;