|  | @@ -83,14 +83,14 @@ impl Connection {
 | 
	
		
			
				|  |  |          let cookie = xcb::get_property(&self.conn, false, win, self.atoms._NET_WM_NAME, self.atoms.UTF8_STRING, 0, 100);
 | 
	
		
			
				|  |  |          let reply = cookie.get_reply();
 | 
	
		
			
				|  |  |          let value: &str = match reply {
 | 
	
		
			
				|  |  | -            Ok(reply) => unsafe { mem::transmute(reply.value()) },
 | 
	
		
			
				|  |  | +            Ok(reply) => unsafe { mem::transmute(reply.value::<u8>()) },
 | 
	
		
			
				|  |  |              _ => ""
 | 
	
		
			
				|  |  |          };
 | 
	
		
			
				|  |  |          if value == "" {
 | 
	
		
			
				|  |  |              let cookie = xcb::get_property(&self.conn, false, win, xcb::ATOM_WM_NAME, xcb::ATOM_STRING, 0, 100);
 | 
	
		
			
				|  |  |              let reply = cookie.get_reply();
 | 
	
		
			
				|  |  |              let value: &str = match reply {
 | 
	
		
			
				|  |  | -                Ok(reply) => unsafe { mem::transmute(reply.value()) },
 | 
	
		
			
				|  |  | +                Ok(reply) => unsafe { mem::transmute(reply.value::<u8>()) },
 | 
	
		
			
				|  |  |                  _ => ""
 | 
	
		
			
				|  |  |              };
 | 
	
		
			
				|  |  |              value.to_string()
 | 
	
	
		
			
				|  | @@ -104,7 +104,7 @@ impl Connection {
 | 
	
		
			
				|  |  |          let cookie = xcb::get_property(&self.conn, false, win, xcb::ATOM_WM_CLASS, xcb::ATOM_STRING, 0, 100);
 | 
	
		
			
				|  |  |          let reply = cookie.get_reply();
 | 
	
		
			
				|  |  |          let value: &str = match reply {
 | 
	
		
			
				|  |  | -            Ok(reply) => unsafe { mem::transmute(reply.value()) },
 | 
	
		
			
				|  |  | +            Ok(reply) => unsafe { mem::transmute(reply.value::<u8>()) },
 | 
	
		
			
				|  |  |              _ => ""
 | 
	
		
			
				|  |  |          };
 | 
	
		
			
				|  |  |          let parts: Vec<&str> = value.split_terminator('\0').collect();
 | 
	
	
		
			
				|  | @@ -158,7 +158,7 @@ impl<'a> Screen<'a> {
 | 
	
		
			
				|  |  |              0
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          else {
 | 
	
		
			
				|  |  | -            let value: &xcb::Window = unsafe { mem::transmute(&(reply.value()[0])) };
 | 
	
		
			
				|  |  | +            let value: &xcb::Window = unsafe { mem::transmute(&(reply.value::<u8>()[0])) };
 | 
	
		
			
				|  |  |              *value
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      }
 |