mirror of
https://github.com/wez/wezterm.git
synced 2024-09-20 19:27:22 +03:00
parent
72cb110b65
commit
aefbab5a9d
@ -228,6 +228,10 @@ impl ConnectionOps for XConnection {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn beep(&self) {
|
||||
xcb::xproto::bell(&self.conn, 0);
|
||||
}
|
||||
}
|
||||
|
||||
fn compute_default_dpi(xrm: &HashMap<String, String>, xsettings: &XSettingsMap) -> f64 {
|
||||
|
@ -137,6 +137,14 @@ impl ConnectionOps for Connection {
|
||||
Self::Wayland(w) => w.get_appearance(),
|
||||
}
|
||||
}
|
||||
|
||||
fn beep(&self) {
|
||||
match self {
|
||||
Self::X11(x) => x.beep(),
|
||||
#[cfg(feature = "wayland")]
|
||||
Self::Wayland(w) => w.beep(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Window {
|
||||
|
Loading…
Reference in New Issue
Block a user