better integrate touch with subsurfaces
This commit is contained in:
parent
f4d11d2d43
commit
c5a4c83f78
3 changed files with 17 additions and 7 deletions
|
|
@ -664,6 +664,8 @@ void CCompositor::focusWindow(CWindow* pWindow, wlr_surface* pSurface) {
|
|||
|
||||
focusSurface(PWINDOWSURFACE, pWindow);
|
||||
|
||||
m_pLastFocus = PWINDOWSURFACE;
|
||||
|
||||
g_pXWaylandManager->activateWindow(pWindow, true); // sets the m_pLastWindow
|
||||
|
||||
// do pointer focus too
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue