input: handle mouse on decorations (#3560)
This commit is contained in:
parent
7a5234a0cc
commit
9abfa9efc6
10 changed files with 165 additions and 65 deletions
|
|
@ -254,6 +254,7 @@ void IHyprLayout::onEndDragWindow() {
|
|||
g_pInputManager->unsetCursorImage();
|
||||
|
||||
g_pInputManager->currentlyDraggedWindow = nullptr;
|
||||
g_pInputManager->m_bWasDraggingWindow = true;
|
||||
|
||||
if (DRAGGINGWINDOW->m_bDraggingTiled) {
|
||||
DRAGGINGWINDOW->m_bIsFloating = false;
|
||||
|
|
@ -265,6 +266,8 @@ void IHyprLayout::onEndDragWindow() {
|
|||
g_pHyprRenderer->damageWindow(DRAGGINGWINDOW);
|
||||
|
||||
g_pCompositor->focusWindow(DRAGGINGWINDOW);
|
||||
|
||||
g_pInputManager->m_bWasDraggingWindow = false;
|
||||
}
|
||||
|
||||
void IHyprLayout::onMouseMove(const Vector2D& mousePos) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue