mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-16 06:30:41 +00:00
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:
parent
659507696c
commit
83dfc4aa46
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue