diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-27 08:48:34 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-27 08:48:34 +0100 |
commit | 069d21ed7f2cf6d5b5f277602b8a969284298b0f (patch) | |
tree | 7337af7a88ca2c469e70b4f74eed28ec54b7eb81 /Kernel/Syscall.h | |
parent | 15fad649ea51d25e168e0456b5621beb820e254d (diff) | |
download | serenity-069d21ed7f2cf6d5b5f277602b8a969284298b0f.zip |
Make buttons unpress when the cursor leaves the button rect.
Implement this functionality by adding global cursor tracking.
It's currently only possible for one GWidget per GWindow to track the cursor.
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r-- | Kernel/Syscall.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h index 08c051a1b6..1ef6138015 100644 --- a/Kernel/Syscall.h +++ b/Kernel/Syscall.h @@ -81,6 +81,7 @@ __ENUMERATE_SYSCALL(gui_get_window_rect) \ __ENUMERATE_SYSCALL(gui_set_window_rect) \ __ENUMERATE_SYSCALL(gui_notify_paint_finished) \ + __ENUMERATE_SYSCALL(gui_set_global_cursor_tracking_enabled) \ #ifdef SERENITY |