aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/leftwm/files/patch-leftwm-core_src_display__servers_xlib__display__server_xwrap_getters.rs
blob: 9b88f79804b00b34737670e5b262a244cc4ca421 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- leftwm-core/src/display_servers/xlib_display_server/xwrap/getters.rs.orig	2021-12-12 17:42:31 UTC
+++ leftwm-core/src/display_servers/xlib_display_server/xwrap/getters.rs
@@ -575,7 +575,7 @@ impl XWrap {
             if status == 0 {
                 return Err(XlibError::FailedStatus);
             }
-            if let Ok(s) = CString::from_raw(text_prop.value.cast::<i8>()).into_string() {
+            if let Ok(s) = CString::from_raw(text_prop.value.cast::<nix::libc::c_char>()).into_string() {
                 return Ok(s);
             }
         };