mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:28:11 +00:00
WindowServer: Fix 'sticky' mouse after resize
This fixes #9933 and some dead code I accidentally left over. Thanks, @Maato!
This commit is contained in:
parent
61f573fa67
commit
7684e4f726
3 changed files with 10 additions and 8 deletions
|
@ -597,11 +597,6 @@ void Window::handle_keydown_event(const KeyEvent& event)
|
|||
m_client->async_key_down(m_window_id, (u32)event.code_point(), (u32)event.key(), event.modifiers(), (u32)event.scancode());
|
||||
}
|
||||
|
||||
void Window::set_global_cursor_tracking_enabled(bool enabled)
|
||||
{
|
||||
m_global_cursor_tracking_enabled = enabled;
|
||||
}
|
||||
|
||||
void Window::set_visible(bool b)
|
||||
{
|
||||
if (m_visible == b)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue