mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +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
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
1 changed files with 0 additions and 1 deletions
|
@ -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