[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/squeekboard][debian/latest] 7 commits: input: Make it possible to deactivate a modifier with any button for it

Arnaud Ferraris (@a-wai) gitlab at salsa.debian.org
Fri Nov 29 10:46:35 GMT 2024



Arnaud Ferraris pushed to branch debian/latest at Debian On Mobile / squeekboard


Commits:
200360ee by MoonlightWave-12 at 2024-11-23T14:57:10+01:00
input: Make it possible to deactivate a modifier with any button for it

Before this change,
one could only deactivate a modifier with the same button that was
used to activate it.
Pressing another button for the same modifier did not work.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/707>

- - - - -
532b3f5d by MoonlightWave-12 at 2024-11-23T14:57:23+01:00
treewide: Document changes and release 1.43.1

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/707>

- - - - -
15569da0 by Marge Bot at 2024-11-24T22:23:24+00:00
Merge branch 'rel-1.43.1' into 'squeekboard-1.43.x'

treewide: Document changes and release 1.43.1

See merge request World/Phosh/squeekboard!707
- - - - -
3e181db1 by Arnaud Ferraris at 2024-11-29T11:12:12+01:00
New upstream version 1.43.1
- - - - -
286b72be by Arnaud Ferraris at 2024-11-29T11:12:12+01:00
Update upstream source from tag 'upstream/1.43.1'

Update to upstream version '1.43.1'
with Debian dir 1520db3bcbbd3ef8e925d2300aa770d33b600db7
- - - - -
111663f0 by Arnaud Ferraris at 2024-11-29T11:12:13+01:00
New upstream version

- - - - -
3073b5b9 by Arnaud Ferraris at 2024-11-29T11:13:31+01:00
d/changelog: release version 1.43.1-1

- - - - -


5 changed files:

- NEWS
- debian/changelog
- meson.build
- src/layout.rs
- src/submission.rs


Changes:

=====================================
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


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+squeekboard (1.43.1-1) unstable; urgency=medium
+
+  * New upstream version
+
+ -- Arnaud Ferraris <aferraris at debian.org>  Fri, 29 Nov 2024 11:13:31 +0100
+
 squeekboard (1.43.0-1) unstable; urgency=medium
 
   * New upstream version


=====================================
meson.build
=====================================
@@ -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: [


=====================================
src/layout.rs
=====================================
@@ -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


=====================================
src/submission.rs
=====================================
@@ -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();
     }
 



View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/squeekboard/-/compare/73c8c81d0de80ff90729720a39cba388ed7613cb...3073b5b9468bd502396277b5615f58b9ec1bc7d5

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/squeekboard/-/compare/73c8c81d0de80ff90729720a39cba388ed7613cb...3073b5b9468bd502396277b5615f58b9ec1bc7d5
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20241129/57db1ff0/attachment-0001.htm>


More information about the Debian-on-mobile-maintainers mailing list