make mouse movement and capture depend on window focus
This commit is contained in:
1 parent
dbe6217e24
commit
86bf16b680
3 files changed
+17
-2
No files matched your search
@@ -82,6 +82,8 @@ typedef struct EngineContext {
|
||||
bool resync_flag;
|
||||
bool was_successful;
|
||||
bool render_double_buffered;
|
||||
/* signals mouse focus, used to disable mouse capture */
|
||||
bool window_mouse_resident;
|
||||
} EngineContext;
|
||||
|
||||
/* TODO: does it need to be marked with TWN_API? */
|
||||
|
||||
Reference in new issue
Block a user