mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-10 04:58:16 +03:00
activate dragged window before moving
BUG:437679
This commit is contained in:
parent
af32f8ebd1
commit
4e2c6da514
@ -606,10 +606,13 @@ void LastActiveWindow::requestMove(Latte::View *fromView, int localX, int localY
|
||||
return;
|
||||
}
|
||||
|
||||
QPoint globalPoint{fromView->x() + localX, fromView->y() + localY};
|
||||
QPoint globalPoint{fromView->x() + localX, fromView->y() + localY};
|
||||
m_wm->requestMoveWindow(m_winId, globalPoint);
|
||||
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user