seatmgr: Add a grab class
This commit is contained in:
parent
0cfdde3d1a
commit
fc72df8e58
12 changed files with 257 additions and 188 deletions
|
|
@ -136,6 +136,8 @@ void CLayerSurface::onMap() {
|
|||
(g_pSeatManager->mouse.expired() || !g_pInputManager->isConstrained());
|
||||
|
||||
if (GRABSFOCUS) {
|
||||
// TODO: use the new superb really very cool grab
|
||||
g_pSeatManager->setGrab(nullptr);
|
||||
g_pInputManager->releaseAllMouseButtons();
|
||||
g_pCompositor->focusSurface(surface.wlr());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue