mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-28 23:39:02 +00:00
LibGUI+WindowServer: Rename window "override cursor" to just "cursor"
Let's just say each window has a cursor, there's not really overriding going on.
This commit is contained in:
parent
40fbdd4e9e
commit
b4f307f982
Notes:
sideshowbarker
2024-07-19 02:47:08 +09:00
Author: https://github.com/awesomekling
Commit: b4f307f982
21 changed files with 80 additions and 80 deletions
|
@ -153,7 +153,7 @@ void InProcessWebView::page_did_change_selection()
|
|||
void InProcessWebView::page_did_request_cursor_change(Gfx::StandardCursor cursor)
|
||||
{
|
||||
if (window())
|
||||
window()->set_override_cursor(cursor);
|
||||
window()->set_cursor(cursor);
|
||||
}
|
||||
|
||||
void InProcessWebView::page_did_request_context_menu(const Gfx::IntPoint& content_position)
|
||||
|
@ -358,7 +358,7 @@ void InProcessWebView::load_html(const StringView& html, const URL& url)
|
|||
bool InProcessWebView::load(const URL& url)
|
||||
{
|
||||
if (window())
|
||||
window()->set_override_cursor(Gfx::StandardCursor::None);
|
||||
window()->set_cursor(Gfx::StandardCursor::None);
|
||||
|
||||
return page().main_frame().loader().load(url, FrameLoader::Type::Navigation);
|
||||
}
|
||||
|
@ -378,7 +378,7 @@ LayoutDocument* InProcessWebView::layout_root()
|
|||
void InProcessWebView::page_did_request_scroll_into_view(const Gfx::IntRect& rect)
|
||||
{
|
||||
scroll_into_view(rect, true, true);
|
||||
window()->set_override_cursor(Gfx::StandardCursor::None);
|
||||
window()->set_cursor(Gfx::StandardCursor::None);
|
||||
}
|
||||
|
||||
void InProcessWebView::load_empty_document()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue