summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini/qxtglobalshortcut_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'qxt-mini/qxtglobalshortcut_p.h')
-rw-r--r--qxt-mini/qxtglobalshortcut_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qxt-mini/qxtglobalshortcut_p.h b/qxt-mini/qxtglobalshortcut_p.h
index 1835f956..7864a7d8 100644
--- a/qxt-mini/qxtglobalshortcut_p.h
+++ b/qxt-mini/qxtglobalshortcut_p.h
@@ -45,6 +45,7 @@ public:
QxtGlobalShortcutPrivate();
~QxtGlobalShortcutPrivate() override;
+ bool keystate;
bool enabled;
Qt::Key key;
Qt::KeyboardModifiers mods;
@@ -56,7 +57,7 @@ public:
static bool eventFilter(void* message);
bool nativeEventFilter(const QByteArray & eventType, void * message, long * result) override;
- static void activateShortcut(quint32 nativeKey, quint32 nativeMods);
+ static void activateShortcut(quint32 nativeKey, quint32 nativeMods, bool is_down);
private:
struct event_filter_installer;