Fix background not being transparent on sway when a wayland application is focused and opening the ui

This commit is contained in:
dec05eba
2025-01-17 13:18:40 +01:00
parent eb4ce76f01
commit a9637f87e7
6 changed files with 65 additions and 36 deletions

View File

@@ -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: