diff options
Diffstat (limited to 'src/user/include/pland')
-rw-r--r-- | src/user/include/pland/syscall.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/user/include/pland/syscall.h b/src/user/include/pland/syscall.h index d7dfd77..1e040f4 100644 --- a/src/user/include/pland/syscall.h +++ b/src/user/include/pland/syscall.h @@ -57,7 +57,8 @@ enum _scn { _SCN_IS_TASK_RUNNING, _SCN_GET_TIMESTAMP, _SCN_FILE_WRITE, - _SCN_SET_FILE_SIZE + _SCN_SET_FILE_SIZE, + _SCN_WANTS_MOUSE_MOVES }; static inline uint32_t _sc0(enum _scn eax) { @@ -254,6 +255,10 @@ static inline void _set_file_size(_file_handle_t handle, uint32_t new_size) { _sc2(_SCN_SET_FILE_SIZE, handle, new_size); } +static inline void _wants_mouse_moves(_window_handle_t window) { + _sc1(_SCN_WANTS_MOUSE_MOVES, (uint32_t)window); +} + #ifdef __cplusplus } #endif |