From f085ed4454fc0c9045b324c32f9ca34cd4c28808 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 7 Feb 2024 00:18:47 +0000 Subject: screencopy/toplevelexport: sanitize pointers in ::copyFrame oopsie~~ >///< --- src/Compositor.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Compositor.hpp') 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>*, Vector2D*, SLayerSurface**); SIMEPopup* vectorToIMEPopup(const Vector2D& pos, std::list& popups); -- cgit v1.2.3