summaryrefslogtreecommitdiff
path: root/Services/WindowServer/WindowFrame.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-07 20:12:17 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-08 12:33:34 +0100
commit56ff0f89af5dc8ba858b1bc4ce401ae242b2ac79 (patch)
tree4b16905a35de74489143485f290c8e20048e7bf7 /Services/WindowServer/WindowFrame.cpp
parent6a970611d65b1d410636f7155de1986021f22267 (diff)
downloadserenity-56ff0f89af5dc8ba858b1bc4ce401ae242b2ac79.zip
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.
Diffstat (limited to 'Services/WindowServer/WindowFrame.cpp')
-rw-r--r--Services/WindowServer/WindowFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Services/WindowServer/WindowFrame.cpp b/Services/WindowServer/WindowFrame.cpp
index 6df895aa46..fee0e2a939 100644
--- a/Services/WindowServer/WindowFrame.cpp
+++ b/Services/WindowServer/WindowFrame.cpp
@@ -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())) {