Call recheckPerms for directMouseEvent

This commit is contained in:
Matt McClaskey 2026-05-21 09:24:17 +00:00
parent d413884f86
commit 0a0d0d3bb1
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -817,8 +817,10 @@ void VNCSConnectionST::directMouseEvent(int dx, int dy, int buttonMask,
{
pointerEventTime = lastEventTime = time(nullptr);
server->lastUserInputTime = lastEventTime;
if (!(accessRights & AccessPtrEvents))
if (!(accessRights & AccessPtrEvents)) {
recheckPerms();
return;
}
if (!rfb::Server::acceptPointerEvents)
return;
if (server->pointerClient && server->pointerClient != this)

@ -1 +1 @@
Subproject commit bc0e6da7f507d52532a3e082074b14a23abc9de2
Subproject commit 7f7d974925c5f99fbc409f3b703519a29b37ba7a