kwin: add support for determining active window's monitor name

This commit is contained in:
p0358
2026-02-19 23:22:31 +01:00
committed by dec05eba
parent 4b47063406
commit 1951fd7c20
4 changed files with 45 additions and 4 deletions

View File

@@ -6,9 +6,11 @@ namespace gsr {
struct ActiveKwinWindow {
std::string title = "Game";
bool fullscreen = false;
std::string monitorName = "";
};
void start_kwin_helper_thread();
std::string get_current_kwin_window_title();
bool get_current_kwin_window_fullscreen();
std::string get_current_kwin_window_monitor_name();
}