summaryrefslogtreecommitdiff
path: root/src/desktop/Window.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-05-18 19:34:14 +0200
committerVaxry <vaxry@vaxry.net>2025-05-18 19:34:20 +0200
commitd9c8a378118d954932eb9906b07150ccd9a3a434 (patch)
tree018b2532fbde016d1791467ae77d3c1196819f63 /src/desktop/Window.hpp
parent158c0f2911894f5f97af7361f639f97f6d100c82 (diff)
input: always allow focus to permission popups
Diffstat (limited to 'src/desktop/Window.hpp')
-rw-r--r--src/desktop/Window.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp
index 47d28db2..0d06b69c 100644
--- a/src/desktop/Window.hpp
+++ b/src/desktop/Window.hpp
@@ -51,6 +51,7 @@ enum eGetWindowProperties : uint8_t {
ALLOW_FLOATING = 1 << 4,
USE_PROP_TILED = 1 << 5,
SKIP_FULLSCREEN_PRIORITY = 1 << 6,
+ FOCUS_PRIORITY = 1 << 7,
};
enum eSuppressEvents : uint8_t {
@@ -408,6 +409,7 @@ class CWindow {
std::optional<std::string> xdgTag();
std::optional<std::string> xdgDescription();
PHLWINDOW parent();
+ bool priorityFocus();
CBox getWindowMainSurfaceBox() const {
return {m_realPosition->value().x, m_realPosition->value().y, m_realSize->value().x, m_realSize->value().y};