1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:47:44 +00:00

Keep back and front painters around in WindowManager.

The internal state never changes in some meaningful way for these (at this time.)
This commit is contained in:
Andreas Kling 2019-01-13 07:41:31 +01:00
parent 0ead888821
commit cc0be2e78a
3 changed files with 26 additions and 28 deletions

View file

@ -61,7 +61,7 @@ void AbstractScreen::on_receive_mouse_data(int dx, int dy, bool left_button, boo
EventLoop::main().postEvent(&WindowManager::the(), move(event));
}
if (m_cursor_location != prev_location || prev_left_button != left_button)
WindowManager::the().redraw_cursor();
WindowManager::the().draw_cursor();
}
void AbstractScreen::on_key_pressed(Keyboard::Key key)