diff --git a/crates/gpui/src/platform/linux/window.rs b/crates/gpui/src/platform/linux/window.rs index e88ebde029712897c968537b3091f15aa995bbf0..d396c7462826e7b649b9855c963624dce80374ff 100644 --- a/crates/gpui/src/platform/linux/window.rs +++ b/crates/gpui/src/platform/linux/window.rs @@ -340,8 +340,15 @@ impl PlatformWindow for LinuxWindow { //todo!(linux) fn activate(&self) {} - //todo!(linux) - fn set_title(&mut self, title: &str) {} + fn set_title(&mut self, title: &str) { + self.0.xcb_connection.send_request(&x::ChangeProperty { + mode: x::PropMode::Replace, + window: self.0.x_window, + property: x::ATOM_WM_NAME, + r#type: x::ATOM_STRING, + data: title.as_bytes(), + }); + } //todo!(linux) fn set_edited(&mut self, edited: bool) {}