mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +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:
@@ -629,9 +629,9 @@ void TerminalWidget::mousemove_event(GUI::MouseEvent& event)
|
||||
m_hovered_href = {};
|
||||
}
|
||||
if (!m_hovered_href.is_empty())
|
||||
window()->set_override_cursor(Gfx::StandardCursor::Hand);
|
||||
window()->set_cursor(Gfx::StandardCursor::Hand);
|
||||
else
|
||||
window()->set_override_cursor(Gfx::StandardCursor::None);
|
||||
window()->set_cursor(Gfx::StandardCursor::None);
|
||||
update();
|
||||
}
|
||||
|
||||
@@ -667,7 +667,7 @@ void TerminalWidget::mousemove_event(GUI::MouseEvent& event)
|
||||
|
||||
void TerminalWidget::leave_event(Core::Event&)
|
||||
{
|
||||
window()->set_override_cursor(Gfx::StandardCursor::None);
|
||||
window()->set_cursor(Gfx::StandardCursor::None);
|
||||
bool should_update = !m_hovered_href.is_empty();
|
||||
m_hovered_href = {};
|
||||
m_hovered_href_id = {};
|
||||
|
||||
Reference in New Issue
Block a user