mirror of
https://github.com/RGBCube/serenity
synced 2025-05-26 01:55:08 +00:00
WindowServer: is_blocked_by_modal_window() => blocking_modal_window()
The name of this function was weird, since it returned the blocking modal window itself, and not just a bool answering the question.
This commit is contained in:
parent
6a970611d6
commit
56ff0f89af
6 changed files with 17 additions and 17 deletions
|
@ -282,7 +282,7 @@ void WindowFrame::on_mouse_event(const MouseEvent& event)
|
|||
if (event.type() == Event::MouseDown)
|
||||
wm.move_to_front_and_make_active(m_window);
|
||||
|
||||
if (m_window.is_blocked_by_modal_window())
|
||||
if (m_window.blocking_modal_window())
|
||||
return;
|
||||
|
||||
if (title_bar_icon_rect().contains(event.position())) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue