diff options
Diffstat (limited to 'x11-libs/libqxt/files/libqxt-invoke-prev-filter.patch')
-rw-r--r-- | x11-libs/libqxt/files/libqxt-invoke-prev-filter.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-libs/libqxt/files/libqxt-invoke-prev-filter.patch b/x11-libs/libqxt/files/libqxt-invoke-prev-filter.patch new file mode 100644 index 000000000000..4910fe403ae1 --- /dev/null +++ b/x11-libs/libqxt/files/libqxt-invoke-prev-filter.patch @@ -0,0 +1,14 @@ +--- src/gui/qxtglobalshortcut_x11.cpp.orig 2013-12-17 15:03:25.388283632 +0400 ++++ src/gui/qxtglobalshortcut_x11.cpp 2013-12-17 15:04:31.566286818 +0400 +@@ -59,7 +59,11 @@ + // Mod1Mask == Alt, Mod4Mask == Meta
+ key->state & (ShiftMask | ControlMask | Mod1Mask | Mod4Mask));
+ }
++#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
++ return prevEventFilter ? prevEventFilter(message) : false;
++#else
+ return false;
++#endif
+ }
+
+ quint32 QxtGlobalShortcutPrivate::nativeModifiers(Qt::KeyboardModifiers modifiers)
|