mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 20:05:59 +01:00
fix: top layer surface not receiving clicks, hopefully
This commit is contained in:
parent
e1e3b122dd
commit
4881246e71
1 changed files with 2 additions and 1 deletions
|
@ -414,7 +414,8 @@ void CInputManager::processMouseDownNormal(wlr_pointer_button_event* e) {
|
|||
g_pCompositor->moveWindowToTop(g_pCompositor->m_pLastWindow);
|
||||
|
||||
// clicking on border triggers resize
|
||||
if (*PRESIZEONBORDER && g_pCompositor->m_pLastWindow && !g_pCompositor->m_pLastWindow->m_bIsFullscreen && !g_pCompositor->m_pLastWindow->m_bFakeFullscreenState) {
|
||||
if (*PRESIZEONBORDER && g_pCompositor->m_pLastWindow && !m_bLastFocusOnLS && !g_pCompositor->m_pLastWindow->m_bIsFullscreen &&
|
||||
!g_pCompositor->m_pLastWindow->m_bFakeFullscreenState) {
|
||||
const wlr_box real = {g_pCompositor->m_pLastWindow->m_vRealPosition.vec().x, g_pCompositor->m_pLastWindow->m_vRealPosition.vec().y,
|
||||
g_pCompositor->m_pLastWindow->m_vRealSize.vec().x, g_pCompositor->m_pLastWindow->m_vRealSize.vec().y};
|
||||
const auto mouseCoords = g_pInputManager->getMouseCoordsInternal();
|
||||
|
|
Loading…
Reference in a new issue