summaryrefslogtreecommitdiff
path: root/src/Compositor.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-03-25 16:20:30 +0000
committerVaxry <vaxry@vaxry.net>2024-03-25 16:20:30 +0000
commitae17e900e720430c7848faf1b6e21b5f352c26ca (patch)
tree32b2a0e96a78f3c487f9d2bad96492bc6fb49719 /src/Compositor.hpp
parentca17a89d86b73f37019c4cc0c7087303adbcc1f9 (diff)
layer-shell: render popups above everything
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index 64cd6e43..ace2a388 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -118,7 +118,7 @@ class CCompositor {
bool m_bUnsafeState = false; // unsafe state is when there is no monitors.
bool m_bNextIsUnsafe = false; // because wlroots
CMonitor* m_pUnsafeOutput = nullptr; // fallback output for the unsafe state
- bool m_bExitTriggered = false; // For exit dispatcher
+ bool m_bExitTriggered = false; // For exit dispatcher
bool m_bIsShuttingDown = false;
// ------------------------------------------------- //
@@ -136,6 +136,7 @@ class CCompositor {
bool monitorExists(CMonitor*);
CWindow* vectorToWindowUnified(const Vector2D&, uint8_t properties, CWindow* pIgnoreWindow = nullptr);
wlr_surface* vectorToLayerSurface(const Vector2D&, std::vector<std::unique_ptr<SLayerSurface>>*, Vector2D*, SLayerSurface**);
+ wlr_surface* vectorToLayerPopupSurface(const Vector2D&, CMonitor* monitor, Vector2D*, SLayerSurface**);
wlr_surface* vectorWindowToSurface(const Vector2D&, CWindow*, Vector2D& sl);
Vector2D vectorToSurfaceLocal(const Vector2D&, CWindow*, wlr_surface*);
CMonitor* getMonitorFromOutput(wlr_output*);