From 56ff0f89af5dc8ba858b1bc4ce401ae242b2ac79 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 7 Jan 2021 20:12:17 +0100 Subject: 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. --- Services/WindowServer/WindowFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Services/WindowServer/WindowFrame.cpp') 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())) { -- cgit v1.2.3