diff options
Diffstat (limited to 'Services/WindowServer/WindowManager.h')
-rw-r--r-- | Services/WindowServer/WindowManager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Services/WindowServer/WindowManager.h b/Services/WindowServer/WindowManager.h index 69386da1e3..0aa04f9743 100644 --- a/Services/WindowServer/WindowManager.h +++ b/Services/WindowServer/WindowManager.h @@ -188,12 +188,12 @@ public: template<typename Function> IterationDecision for_each_window_in_modal_stack(Window& window, Function f) { - auto* blocking_modal_window = window.is_blocked_by_modal_window(); + auto* blocking_modal_window = window.blocking_modal_window(); if (blocking_modal_window || window.is_modal()) { Vector<Window*> modal_stack; auto* modal_stack_top = blocking_modal_window ? blocking_modal_window : &window; for (auto* parent = modal_stack_top->parent_window(); parent; parent = parent->parent_window()) { - auto* blocked_by = parent->is_blocked_by_modal_window(); + auto* blocked_by = parent->blocking_modal_window(); if (!blocked_by || (blocked_by != modal_stack_top && !modal_stack_top->is_descendant_of(*blocked_by))) break; modal_stack.append(parent); |