mirror of
https://github.com/RGBCube/serenity
synced 2025-07-05 00:37:35 +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
21 changed files with 80 additions and 80 deletions
|
@ -138,7 +138,7 @@ void OutOfProcessWebView::notify_server_did_request_scroll_into_view(Badge<WebCo
|
|||
void OutOfProcessWebView::notify_server_did_hover_link(Badge<WebContentClient>, const URL& url)
|
||||
{
|
||||
if (window())
|
||||
window()->set_override_cursor(Gfx::StandardCursor::Hand);
|
||||
window()->set_cursor(Gfx::StandardCursor::Hand);
|
||||
if (on_link_hover)
|
||||
on_link_hover(url);
|
||||
}
|
||||
|
@ -146,7 +146,7 @@ void OutOfProcessWebView::notify_server_did_hover_link(Badge<WebContentClient>,
|
|||
void OutOfProcessWebView::notify_server_did_unhover_link(Badge<WebContentClient>)
|
||||
{
|
||||
if (window())
|
||||
window()->set_override_cursor(Gfx::StandardCursor::None);
|
||||
window()->set_cursor(Gfx::StandardCursor::None);
|
||||
if (on_link_hover)
|
||||
on_link_hover({});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue