implement xdg-foreign to put capture dialog on top

This commit is contained in:
Ferdinand Schober
2026-02-11 17:41:15 +01:00
committed by Ferdinand Schober
parent be27e337f4
commit a5bdcd0972
10 changed files with 166 additions and 43 deletions

View File

@@ -255,6 +255,14 @@ pub enum FrontendRequest {
UpdateEnterHook(u64, Option<String>),
/// save config file
SaveConfiguration,
/// window identifier used to present input-capture / remote-desktop prompts
WindowIdentifier(WindowIdentifier),
}
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
pub enum WindowIdentifier {
Wayland(String),
X11(u32),
}
#[derive(Clone, Copy, PartialEq, Eq, Debug, Default, Serialize, Deserialize)]