summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini/x11-keymap.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-05-30 02:30:47 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-05-30 02:30:47 +0200
commit5b819219889e78093e0dd32615adb6dcdc66cbcb (patch)
tree48dcc16ad34ab19a656ce862d8e4472e7ceb77e1 /qxt-mini/x11-keymap.hpp
parenta4836eac5872d06d533e0130230c99148aeb4c7e (diff)
fix linux hotkeys
Requested-by: @miniskipper and many others
Diffstat (limited to 'qxt-mini/x11-keymap.hpp')
-rw-r--r--qxt-mini/x11-keymap.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/qxt-mini/x11-keymap.hpp b/qxt-mini/x11-keymap.hpp
new file mode 100644
index 00000000..b35097bc
--- /dev/null
+++ b/qxt-mini/x11-keymap.hpp
@@ -0,0 +1,15 @@
+#pragma once
+
+#ifndef BUILD_QXT_MINI
+# error "internal header"
+#endif
+
+#ifndef __APPLE__
+
+#include <Qt>
+#include <QDebug>
+#include <X11/Xlib.h>
+
+unsigned qt_key_to_x11(Display* disp, Qt::Key k);
+
+#endif