[client] x11: serialize pointer grab state

This commit is contained in:
Geoffrey McRae
2026-08-06 14:54:05 +10:00
parent 023430da31
commit 997c690e04
2 changed files with 33 additions and 11 deletions

View File

@@ -31,6 +31,7 @@
#include <GL/glx.h>
#include "interface/displayserver.h"
#include "common/locking.h"
#include "common/thread.h"
#include "common/types.h"
#include "wm.h"
@@ -93,6 +94,7 @@ struct X11DSState
int xValuator;
int yValuator;
LG_Lock pointerLock;
_Atomic(bool) captureActive;
_Atomic(bool) pointerGrabbed;
bool keyboardGrabbed;