Cleanup
This commit is contained in:
		
							parent
							
								
									3759a9121c
								
							
						
					
					
						commit
						9120c02d83
					
				| @ -454,7 +454,6 @@ impl Shell { | ||||
| 
 | ||||
|         let ref_state = self.state.clone(); | ||||
|         state.im_context.connect_commit(move |_, ch| { | ||||
|             println!("commit"); | ||||
|             ref_state.borrow().im_commit(ch) | ||||
|         }); | ||||
| 
 | ||||
| @ -529,7 +528,6 @@ impl Deref for Shell { | ||||
| 
 | ||||
| fn gtk_focus_in(state: &mut State) -> Inhibit { | ||||
|     state.im_context.focus_in(); | ||||
|     println!("focus in"); | ||||
|     state.cursor.as_mut().unwrap().enter_focus(); | ||||
|     let point = state.model.cur_point(); | ||||
|     state.on_redraw(&RepaintMode::Area(point)); | ||||
| @ -538,7 +536,6 @@ fn gtk_focus_in(state: &mut State) -> Inhibit { | ||||
| 
 | ||||
| fn gtk_focus_out(state: &mut State) -> Inhibit { | ||||
|     state.im_context.focus_out(); | ||||
|     println!("focus out"); | ||||
|     state.cursor.as_mut().unwrap().leave_focus(); | ||||
|     let point = state.model.cur_point(); | ||||
|     state.on_redraw(&RepaintMode::Area(point)); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 daa84
						daa84