caribou-fix-subkey-popmenu.patch 915 B

12345678910111213141516171819202122232425262728293031323334
  1. From 85ac8f9e210243d95163cf8b1013470a6d9c7eaa Mon Sep 17 00:00:00 2001
  2. From: Clement Lefebvre <clement.lefebvre@linuxmint.com>
  3. Date: Tue, 12 Jan 2021 17:30:25 +0000
  4. Subject: [PATCH 2/4] Fix subkey popmenu not showing after being dismissed
  5. To reproduce the issue:
  6. - long-press the "e" button
  7. - don't select any sub button.. just select "e" again to close the menu
  8. After this the menu no long appears when long-pressing "e".
  9. This commit fixes that.
  10. ---
  11. libcaribou/key-model.vala | 1 +
  12. 1 file changed, 1 insertion(+)
  13. diff --git a/libcaribou/key-model.vala b/libcaribou/key-model.vala
  14. index e88342e..2f640f2 100644
  15. --- a/libcaribou/key-model.vala
  16. +++ b/libcaribou/key-model.vala
  17. @@ -179,6 +179,7 @@ namespace Caribou {
  18. hold_tid = GLib.Timeout.add (1000, on_key_held);
  19. key_pressed(this);
  20. + show_subkeys = false;
  21. }
  22. public void release () {
  23. --
  24. 2.29.2