LibGUI/WindowServer: Rename mouse capture -> mouse relative

My terminology was incorrect and this is more correct
This commit is contained in:
2025-08-03 16:13:37 +03:00
parent 4519c48284
commit af0a46e79c
6 changed files with 31 additions and 31 deletions

View File

@@ -205,7 +205,7 @@ namespace LibGUI
WindowInvalidate,
WindowSetPosition,
WindowSetAttributes,
WindowSetMouseCapture,
WindowSetMouseRelative,
WindowSetSize,
WindowSetMinSize,
WindowSetMaxSize,
@@ -266,8 +266,8 @@ namespace LibGUI
);
DEFINE_PACKET(
WindowSetMouseCapture,
bool, captured
WindowSetMouseRelative,
bool, enabled
);
DEFINE_PACKET(

View File

@@ -43,7 +43,7 @@ namespace LibGUI
void invalidate(int32_t x, int32_t y, uint32_t width, uint32_t height);
void invalidate() { return invalidate(0, 0, width(), height()); }
void set_mouse_capture(bool captured);
void set_mouse_relative(bool enabled);
void set_fullscreen(bool fullscreen);
void set_title(BAN::StringView title);