mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-04 17:33:04 +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
Notes:
sideshowbarker
2024-07-19 00:03:08 +09:00
Author: https://github.com/awesomekling
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