diff options
author | Andreas Kling <kling@serenityos.org> | 2020-09-10 19:25:13 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-10 19:25:13 +0200 |
commit | 0f9be828264a44faa281a655754319c667f81aa6 (patch) | |
tree | d5e73bac994730e737d44b10a379dbf0ec8caa8e /Libraries/LibVT | |
parent | c063a02979a70ea66fd2aa56576bbb0b62c2745b (diff) | |
download | serenity-0f9be828264a44faa281a655754319c667f81aa6.zip |
LibGfx: Move StandardCursor enum to LibGfx
This enum existed both in LibGUI and WindowServer which was silly and
error-prone.
Diffstat (limited to 'Libraries/LibVT')
-rw-r--r-- | Libraries/LibVT/TerminalWidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibVT/TerminalWidget.cpp b/Libraries/LibVT/TerminalWidget.cpp index 8e5483acac..83d4bd614b 100644 --- a/Libraries/LibVT/TerminalWidget.cpp +++ b/Libraries/LibVT/TerminalWidget.cpp @@ -629,9 +629,9 @@ void TerminalWidget::mousemove_event(GUI::MouseEvent& event) m_hovered_href = {}; } if (!m_hovered_href.is_empty()) - window()->set_override_cursor(GUI::StandardCursor::Hand); + window()->set_override_cursor(Gfx::StandardCursor::Hand); else - window()->set_override_cursor(GUI::StandardCursor::None); + window()->set_override_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(GUI::StandardCursor::None); + window()->set_override_cursor(Gfx::StandardCursor::None); bool should_update = !m_hovered_href.is_empty(); m_hovered_href = {}; m_hovered_href_id = {}; |