added follow_mouse
This commit is contained in:
parent
402c11d341
commit
a558bcdfbf
5 changed files with 24 additions and 7 deletions
|
|
@ -380,6 +380,9 @@ void CCompositor::focusWindow(CWindow* pWindow, wlr_surface* pSurface) {
|
|||
|
||||
g_pXWaylandManager->activateWindow(pWindow, true);
|
||||
|
||||
// do pointer focus too
|
||||
wlr_seat_pointer_notify_enter(m_sSeat.seat, PWINDOWSURFACE, 0, 0);
|
||||
|
||||
m_pLastWindow = pWindow;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue