mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 01:25:58 +01:00
input: don't steal mouseDown from LS (#4260)
modified: src/managers/input/InputManager.cpp
This commit is contained in:
parent
1ecd173c7a
commit
6cd82d948f
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ void CInputManager::processMouseDownNormal(wlr_pointer_button_event* e) {
|
||||||
const auto mouseCoords = g_pInputManager->getMouseCoordsInternal();
|
const auto mouseCoords = g_pInputManager->getMouseCoordsInternal();
|
||||||
const auto w = g_pCompositor->vectorToWindowIdeal(mouseCoords);
|
const auto w = g_pCompositor->vectorToWindowIdeal(mouseCoords);
|
||||||
|
|
||||||
if (w && !w->m_bIsFullscreen && !w->hasPopupAt(mouseCoords)) {
|
if (w && !w->m_bIsFullscreen && !m_bLastFocusOnLS && !w->hasPopupAt(mouseCoords)) {
|
||||||
for (auto& wd : w->m_dWindowDecorations) {
|
for (auto& wd : w->m_dWindowDecorations) {
|
||||||
if (!(wd->getDecorationFlags() & DECORATION_ALLOWS_MOUSE_INPUT))
|
if (!(wd->getDecorationFlags() & DECORATION_ALLOWS_MOUSE_INPUT))
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue