From a77c6aafde92d556650215a66b6b0a9b36f43ec6 Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Thu, 13 Feb 2020 12:28:48 +1100 Subject: [PATCH] UI: Allow resizing docks when hotkeys are disabled Fixes #2194 --- UI/obs-app.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/obs-app.cpp b/UI/obs-app.cpp index 082ba0d84..321b9362c 100644 --- a/UI/obs-app.cpp +++ b/UI/obs-app.cpp @@ -93,7 +93,8 @@ QObject *CreateShortcutFilter() { return new OBSEventFilter([](QObject *obj, QEvent *event) { auto mouse_event = [](QMouseEvent &event) { - if (!App()->HotkeysEnabledInFocus()) + if (!App()->HotkeysEnabledInFocus() && + event.button() != Qt::LeftButton) return true; obs_key_combination_t hotkey = {0, OBS_KEY_NONE};