renderingservertest: each new Surface becomes the seat's focused surface
This commit is contained in:
parent
d78ed75549
commit
b016765f6c
1 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,10 @@ void CompositorWindow::surfaceCreated(KWayland::Server::ShellSurfaceInterface *s
|
|||
update();
|
||||
}
|
||||
);
|
||||
if (m_seat) {
|
||||
m_seat->setFocusedPointerSurface(surface->surface());
|
||||
m_seat->setFocusedKeyboardSurface(surface->surface());
|
||||
}
|
||||
}
|
||||
|
||||
void CompositorWindow::setSeat(const QPointer< KWayland::Server::SeatInterface > &seat)
|
||||
|
|
Loading…
Reference in a new issue