diff options
Diffstat (limited to 'src-qt5')
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp | 9 | ||||
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp b/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp index 9e2e7bba..b9c1b6ef 100644 --- a/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp +++ b/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.cpp @@ -274,6 +274,15 @@ void NativeWindowSystem::stop(){ } +void NativeWindowSystem::RegisterEventShortcut(Qt::Key key, bool set){ +//RegisterEventShortcut( , set); +} + +void NativeWindowSystem::RegisterEventShortcut(int keycode, bool set){ + //xcb_input_grab_device_button_checked + //xcb_input_xi_passive_grab_device_unchecked +} + // === PRIVATE === NativeWindowObject* NativeWindowSystem::findWindow(WId id, bool checkRelated){ //qDebug() << "Find Window:" << id; diff --git a/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h b/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h index 74849cf4..0b6cd67e 100644 --- a/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h +++ b/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h @@ -79,6 +79,8 @@ public: //Small simplification functions static Qt::Key KeycodeToQt(int keycode); static NativeWindowSystem::MouseButton MouseToQt(int button); + void RegisterEventShortcut(Qt::Key key, bool set); + void RegisterEventShortcut(int keycode, bool set); void raiseWindow(NativeWindowObject *win); void lowerWindow(NativeWindowObject *win); |