mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-09 05:17:24 +00:00
[client] input: fix focus capture startup
Capture-on-focus could consume the initial focus event before an input provider became available. The focused state then suppressed any later attempt to establish capture. Treat explicit capture as local window state, refresh keyboard ownership on focus and input-policy changes, and preserve pre-ungrab availability for key release. Fall back to the window center when guest cursor geometry is not ready.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
bool core_inputEnabled(void);
|
||||
void core_updateKeyboardGrab(void);
|
||||
void core_invalidatePointer(bool detectInView);
|
||||
void core_setCursorInView(bool enable);
|
||||
void core_handleGrabEvent(bool active);
|
||||
|
||||
Reference in New Issue
Block a user