summaryrefslogtreecommitdiff
path: root/src/Compositor.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-02-07 00:18:47 +0000
committerVaxry <vaxry@vaxry.net>2024-02-07 00:18:47 +0000
commitf085ed4454fc0c9045b324c32f9ca34cd4c28808 (patch)
treee300a7a0ba532c5f44e00330e2e135b14890316e /src/Compositor.hpp
parentded174d6e5d14bc376919194cbc52c238a07f640 (diff)
screencopy/toplevelexport: sanitize pointers in ::copyFrame
oopsie~~ >///<
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index 3fe5a730..7d154735 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -135,6 +135,7 @@ class CCompositor {
void focusSurface(wlr_surface*, CWindow* pWindowOwner = nullptr);
bool windowExists(CWindow*);
bool windowValidMapped(CWindow*);
+ 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**);
SIMEPopup* vectorToIMEPopup(const Vector2D& pos, std::list<SIMEPopup>& popups);