@@ -330,7 +330,7 @@ impl XState {
330330
331331 match event {
332332 xcb:: Event :: X ( x:: Event :: CreateNotify ( e) ) => {
333- debug ! ( "new window: {:?}" , e ) ;
333+ debug ! ( "new window: {e :?}" ) ;
334334 server_state. new_window (
335335 e. window ( ) ,
336336 e. override_redirect ( ) ,
@@ -702,7 +702,7 @@ impl XState {
702702 data. push ( 0 ) ;
703703 }
704704 let class = CString :: from_vec_with_nul ( data) . unwrap ( ) ;
705- trace ! ( "{:?} class: {class:?}" , window ) ;
705+ trace ! ( "{window :?} class: {class:?}" ) ;
706706 class. to_string_lossy ( ) . to_string ( )
707707 } ;
708708 PropertyCookieWrapper {
@@ -1236,7 +1236,7 @@ impl XConnection for RealConnection {
12361236 revert_to : x:: InputFocus :: None ,
12371237 time : x:: CURRENT_TIME ,
12381238 } ) {
1239- debug ! ( "SetInputFocus failed ({:?}: {:?})" , window , e ) ;
1239+ debug ! ( "SetInputFocus failed ({window :?}: {e :?})" ) ;
12401240 return ;
12411241 }
12421242 if let Err ( e) = self . connection . send_and_check_request ( & x:: ChangeProperty {
@@ -1246,7 +1246,7 @@ impl XConnection for RealConnection {
12461246 r#type : x:: ATOM_WINDOW ,
12471247 data : & [ window] ,
12481248 } ) {
1249- debug ! ( "ChangeProperty failed ({:?}: {:?})" , window , e ) ;
1249+ debug ! ( "ChangeProperty failed ({window :?}: {e :?})" ) ;
12501250 }
12511251 if let Err ( e) = self . connection . send_and_check_request ( & x:: ChangeProperty {
12521252 mode : x:: PropMode :: Replace ,
@@ -1255,7 +1255,7 @@ impl XConnection for RealConnection {
12551255 r#type : self . atoms . wm_state ,
12561256 data : & [ WmState :: Normal as u32 , 0 ] ,
12571257 } ) {
1258- debug ! ( "ChangeProperty failed ({:?}: {:?})" , window , e ) ;
1258+ debug ! ( "ChangeProperty failed ({window :?}: {e :?})" ) ;
12591259 }
12601260
12611261 if let Some ( name) = output_name {
0 commit comments