mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03: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
Notes:
sideshowbarker
2024-07-18 19:03:13 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/83dfc4aa46c Pull-request: https://github.com/SerenityOS/serenity/pull/6679 Issue: https://github.com/SerenityOS/serenity/issues/4809
@ -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 New Issue
Block a user