Compare commits
	
		
			3 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 15569da021 | |||
| 532b3f5da0 | |||
| 200360ee3e | 
							
								
								
									
										8
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								NEWS
									
									
									
									
									
								
							@ -1,3 +1,11 @@
 | 
			
		||||
squeekboard 1.43.1
 | 
			
		||||
------------------
 | 
			
		||||
Released November 2024
 | 
			
		||||
* Fixes:
 | 
			
		||||
    * Input: Modifiers can now be deactivated with all buttons for the same modifier, instead of only with the same button that was used to activate it.
 | 
			
		||||
* Contributors:
 | 
			
		||||
    * MoonlightWave-12
 | 
			
		||||
 | 
			
		||||
squeekboard 1.43.0
 | 
			
		||||
------------------
 | 
			
		||||
Released November 2024
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							@ -1,3 +1,9 @@
 | 
			
		||||
squeekboard (1.43.1) experimental; urgency=medium
 | 
			
		||||
 | 
			
		||||
  * input: Make it possible to deactivate a modifier with any button for it
 | 
			
		||||
 | 
			
		||||
 -- MoonlightWave-12 <135532-MoonlightWave-12@users.noreply.gitlab.gnome.org>  Sat, 23 Nov 2024 14:56:04 +0100
 | 
			
		||||
 | 
			
		||||
squeekboard (1.43.0) experimental; urgency=medium
 | 
			
		||||
 | 
			
		||||
  [ MoonlightWave-12 ]
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
project(
 | 
			
		||||
    'squeekboard',
 | 
			
		||||
    'c', 'rust',
 | 
			
		||||
    version: '1.43.0',
 | 
			
		||||
    version: '1.43.1',
 | 
			
		||||
    license: 'GPLv3',
 | 
			
		||||
    meson_version: '>=1.0.0',
 | 
			
		||||
    default_options: [
 | 
			
		||||
 | 
			
		||||
@ -1186,7 +1186,7 @@ mod seat {
 | 
			
		||||
                        key_id,
 | 
			
		||||
                        modifier, time,
 | 
			
		||||
                    ),
 | 
			
		||||
                    false => submission.handle_drop_modifier(key_id, time),
 | 
			
		||||
                    false => submission.handle_drop_modifier(key_id, modifier, time),
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            // only show when UI is present
 | 
			
		||||
 | 
			
		||||
@ -228,10 +228,11 @@ impl Submission {
 | 
			
		||||
 | 
			
		||||
    pub fn handle_drop_modifier(
 | 
			
		||||
        &mut self,
 | 
			
		||||
        key_id: KeyStateId,
 | 
			
		||||
        _key_id: KeyStateId,
 | 
			
		||||
        modifier: Modifier,
 | 
			
		||||
        _time: Timestamp,
 | 
			
		||||
    ) {
 | 
			
		||||
        vec_remove(&mut self.modifiers_active, |(id, _)| *id == key_id);
 | 
			
		||||
        vec_remove(&mut self.modifiers_active, |(_, m)| *m == modifier);
 | 
			
		||||
        self.update_modifiers();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user