input: try to refocus a focusable window when seat grabs are reset (#7669)
This commit is contained in:
parent
b0fca6eaf0
commit
0500213086
3 changed files with 50 additions and 11 deletions
|
|
@ -202,6 +202,13 @@ void CPopup::reposition() {
|
|||
m_pResource->applyPositioning(box, COORDS);
|
||||
}
|
||||
|
||||
SP<CWLSurface> CPopup::getT1Owner() {
|
||||
if (m_pWindowOwner)
|
||||
return m_pWindowOwner->m_pWLSurface;
|
||||
else
|
||||
return m_pLayerOwner->surface;
|
||||
}
|
||||
|
||||
Vector2D CPopup::coordsRelativeToParent() {
|
||||
Vector2D offset;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue