mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-10 09:11:31 +00:00
[client] input: add display server behaviour tests
Extract input policy from the Wayland and X11 protocol handlers. Exercise both implementations against literal Wayland event traces.
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include "common/locking.h"
|
||||
#include "common/thread.h"
|
||||
#include "common/types.h"
|
||||
#include "input_event.h"
|
||||
#include "wm.h"
|
||||
|
||||
enum Modifiers
|
||||
@@ -96,12 +97,11 @@ struct X11DSState
|
||||
int xValuator;
|
||||
int yValuator;
|
||||
|
||||
X11Input input;
|
||||
LG_Lock pointerLock;
|
||||
_Atomic(bool) captureActive;
|
||||
_Atomic(bool) pointerGrabbed;
|
||||
bool keyboardGrabbed;
|
||||
bool entered;
|
||||
bool focused;
|
||||
bool fullscreen;
|
||||
|
||||
struct Rect rect;
|
||||
|
||||
Reference in New Issue
Block a user