activate dragged window before moving

BUG:437679
pull/22/head
Michail Vourlakos 4 years ago
parent af32f8ebd1
commit 4e2c6da514

@ -606,10 +606,13 @@ void LastActiveWindow::requestMove(Latte::View *fromView, int localX, int localY
return; return;
} }
QPoint globalPoint{fromView->x() + localX, fromView->y() + localY}; QPoint globalPoint{fromView->x() + localX, fromView->y() + localY};
m_wm->requestMoveWindow(m_winId, globalPoint); m_wm->requestMoveWindow(m_winId, globalPoint);
fromView->unblockMouse(localX, localY); fromView->unblockMouse(localX, localY);
//! fixes bug #437679, Dragged windows do not become active and during drag they go behind active window
m_wm->requestActivate(m_winId);
} }
void LastActiveWindow::requestToggleIsOnAllDesktops() void LastActiveWindow::requestToggleIsOnAllDesktops()

Loading…
Cancel
Save