1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 23:38:12 +00:00

WindowServer: Replace character with code point

Replace u8 data type width u32. Remove character property from event and add code_point property for represent UTF-8 character.
This commit is contained in:
Hüseyin ASLITÜRK 2020-06-13 14:02:00 +03:00 committed by Andreas Kling
parent 25e14911c5
commit 2f7e5a5e40
5 changed files with 10 additions and 10 deletions

View file

@ -8,8 +8,8 @@ endpoint WindowClient = 4
MouseWheel(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta) =|
WindowEntered(i32 window_id) =|
WindowLeft(i32 window_id) =|
KeyDown(i32 window_id, u8 character, u32 key, u32 modifiers, u32 scancode) =|
KeyUp(i32 window_id, u8 character, u32 key, u32 modifiers, u32 scancode) =|
KeyDown(i32 window_id, u32 code_point, u32 key, u32 modifiers, u32 scancode) =|
KeyUp(i32 window_id, u32 code_point, u32 key, u32 modifiers, u32 scancode) =|
WindowActivated(i32 window_id) =|
WindowDeactivated(i32 window_id) =|
WindowStateChanged(i32 window_id, bool minimized, bool occluded) =|