Capture screenshots in the compositor instead of grim

This commit is contained in:
Samuel Onoja committed 2026-09-29 15:51:56 +01:00
1 parent 4b70cb40e0
commit eda453dabd
15 files changed
+2770 -171

No files matched your search

+2 -1
View File
@@ -73,7 +73,7 @@ pub fn resolve(
let mut result = WindowRuleResult::default();
if matches!(
app_id.as_deref(),
Some("dev.ferese.authentication" | "dev.ferese.screenshare")
Some("dev.ferese.authentication" | "dev.ferese.screenshare" | "dev.ferese.screenshot")
) {
result.floating = Some(true);
}
@@ -220,6 +220,7 @@ mod tests {
"dev.ferese.ScreenShare",
"dev.ferese.ScreenShare.desktop",
"dev.ferese.Authentication",
"dev.ferese.Screenshot",
] {
assert_eq!(resolve(&[], Some(app_id), None, false).floating, Some(true));
let rules = validate(&[WindowRuleConfig {