summaryrefslogtreecommitdiff
path: root/src/desktop/Window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/Window.cpp')
-rw-r--r--src/desktop/Window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp
index 7ef54da0..9f69e364 100644
--- a/src/desktop/Window.cpp
+++ b/src/desktop/Window.cpp
@@ -1836,3 +1836,7 @@ PHLWINDOW CWindow::parent() {
return m_xdgSurface->m_toplevel->m_parent->m_window.lock();
}
+
+bool CWindow::priorityFocus() {
+ return !m_isX11 && CAsyncDialogBox::isPriorityDialogBox(getPID());
+}