1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

WindowServer: Rename reevaluate_hovered_window()

...to reevaluate_hover_state_for_window(). This name is not super great
either, but at least it doesn't sound like the window is necessarily
currently being hovered.
This commit is contained in:
Andreas Kling 2021-11-04 14:29:46 +01:00
parent c001926752
commit dd8a459a1f
3 changed files with 6 additions and 6 deletions

View file

@ -616,7 +616,7 @@ void ClientConnection::did_finish_painting(i32 window_id, Vector<Gfx::IntRect> c
for (auto& rect : rects)
window.invalidate(rect);
if (window.has_alpha_channel() && window.alpha_hit_threshold() > 0.0f)
WindowManager::the().reevaluate_hovered_window(&window);
WindowManager::the().reevaluate_hover_state_for_window(&window);
WindowSwitcher::the().refresh_if_needed();
}