aboutsummaryrefslogtreecommitdiff
path: root/include/Overlay.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-17 13:18:40 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-17 13:18:40 +0100
commita9637f87e7c850717443f10af15bed62655fc445 (patch)
tree32cf2b2bf25a4a65d615f6a158a84d5b50b0a469 /include/Overlay.hpp
parenteb4ce76f013d4df74897466702769086329911c3 (diff)
Fix background not being transparent on sway when a wayland application is focused and opening the ui
Diffstat (limited to 'include/Overlay.hpp')
-rw-r--r--include/Overlay.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Overlay.hpp b/include/Overlay.hpp
index e802cd0..45776b8 100644
--- a/include/Overlay.hpp
+++ b/include/Overlay.hpp
@@ -5,6 +5,7 @@
#include "GsrInfo.hpp"
#include "Config.hpp"
#include "window_texture.h"
+#include "WindowUtils.hpp"
#include <mglpp/window/Window.hpp>
#include <mglpp/window/Event.hpp>
@@ -97,7 +98,7 @@ namespace gsr {
void on_press_start_replay(bool disable_notification);
void on_press_start_record();
void on_press_start_stream();
- bool update_compositor_texture(const mgl_monitor *monitor);
+ bool update_compositor_texture(const Monitor &monitor);
void force_window_on_top();
private: