Changeset View
Changeset View
Standalone View
Standalone View
popup_input_filter.h
Show All 23 Lines | |||||
24 | #include "input.h" | 24 | #include "input.h" | ||
25 | 25 | | |||
26 | #include <QObject> | 26 | #include <QObject> | ||
27 | #include <QVector> | 27 | #include <QVector> | ||
28 | 28 | | |||
29 | namespace KWin | 29 | namespace KWin | ||
30 | { | 30 | { | ||
31 | class Toplevel; | 31 | class Toplevel; | ||
32 | class XdgShellClient; | | |||
33 | 32 | | |||
34 | class PopupInputFilter : public QObject, public InputEventFilter | 33 | class PopupInputFilter : public QObject, public InputEventFilter | ||
35 | { | 34 | { | ||
36 | Q_OBJECT | 35 | Q_OBJECT | ||
37 | public: | 36 | public: | ||
38 | explicit PopupInputFilter(); | 37 | explicit PopupInputFilter(); | ||
39 | bool pointerEvent(QMouseEvent *event, quint32 nativeButton) override; | 38 | bool pointerEvent(QMouseEvent *event, quint32 nativeButton) override; | ||
40 | private: | 39 | private: | ||
Show All 10 Lines |