bell ringing
This commit is contained in:
parent
db49a29fad
commit
a10b727dd3
1 changed files with 3 additions and 1 deletions
|
|
@ -4,6 +4,8 @@ use smithay::wayland::xdg_system_bell::XdgSystemBellHandler;
|
||||||
|
|
||||||
impl XdgSystemBellHandler for State {
|
impl XdgSystemBellHandler for State {
|
||||||
fn ring(&mut self, surface: Option<WlSurface>) {
|
fn ring(&mut self, surface: Option<WlSurface>) {
|
||||||
println!("{:?} ringed!", surface);
|
if let Some(sysaudioplayer) = self.sysaudioplayer.as_ref() {
|
||||||
|
sysaudioplayer.blink3();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue