LibGUI/Window: Do not reset mouse cursor on show()

Window::m_cursor already has ::None as its default value, so let's not
overwrite its value if it was set to something else.
This commit is contained in:
Jelle Raaijmakers 2021-04-27 01:16:01 +02:00 committed by Andreas Kling
parent 659507696c
commit 83dfc4aa46
Notes: sideshowbarker 2024-07-18 19:03:13 +09:00

View File

@ -119,7 +119,6 @@ void Window::show()
auto* parent_window = find_parent_window();
m_cursor = Gfx::StandardCursor::None;
auto response = WindowServerConnection::the().send_sync<Messages::WindowServer::CreateWindow>(
m_rect_when_windowless,
!m_moved_by_client,