Remove panics from X11Window::set_title (#22173)

Release Notes:

- N/A
This commit is contained in:
Cole Miller
2024-12-17 22:15:35 -05:00
committed by GitHub
parent 672fc76832
commit 613deb6421
+3 -3
View File
@@ -1215,7 +1215,7 @@ impl PlatformWindow for X11Window {
title.as_bytes(),
),
)
.unwrap();
.log_err();
check_reply(
|| "X11 ChangeProperty8 on _NET_WM_NAME failed.",
@@ -1227,8 +1227,8 @@ impl PlatformWindow for X11Window {
title.as_bytes(),
),
)
.unwrap();
self.flush().unwrap();
.log_err();
self.flush().log_err();
}
fn set_app_id(&mut self, app_id: &str) {