mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-06 06:50:44 +09:00
Fix to ignore GSR Overlay in KWin workaround
This commit is contained in:
@@ -51,6 +51,11 @@ namespace gsr {
|
|||||||
size_t pos = line.find(prefix);
|
size_t pos = line.find(prefix);
|
||||||
if (pos != std::string::npos) {
|
if (pos != std::string::npos) {
|
||||||
std::string title = line.substr(pos + prefix.length());
|
std::string title = line.substr(pos + prefix.length());
|
||||||
|
|
||||||
|
if (title == "gsr ui") {
|
||||||
|
continue; // ignore the overlay
|
||||||
|
}
|
||||||
|
|
||||||
active_kwin_window->title = title;
|
active_kwin_window->title = title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user