Do not reset pending state on zwp_input_method_v2.done
This commit is contained in:
		
				
					committed by
					
						
						Dorota Czaplejewicz
					
				
			
			
				
	
			
			
			
						parent
						
							bcbc9f7ba6
						
					
				
				
					commit
					c51b001836
				
			@ -154,11 +154,6 @@ pub mod c {
 | 
			
		||||
        let imservice = check_imservice(imservice, im).unwrap();
 | 
			
		||||
 | 
			
		||||
        imservice.current = imservice.pending.clone();
 | 
			
		||||
        imservice.pending = IMProtocolState {
 | 
			
		||||
            active: imservice.current.active,
 | 
			
		||||
            ..IMProtocolState::default()
 | 
			
		||||
        };
 | 
			
		||||
 | 
			
		||||
        imservice.serial += Wrapping(1u32);
 | 
			
		||||
        imservice.send_event();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user