From 4db8a10648acceac88052b25b9f380d5aad803ee Mon Sep 17 00:00:00 2001 From: Po Lu Date: Fri, 7 Jul 2023 10:00:56 +0800 Subject: [PATCH] Update Android port * lisp/tool-bar.el (modifier-bar-modifier-list): New variable. (modifier-bar-button): New function. (tool-bar-event-apply-alt-modifier) (tool-bar-event-apply-super-modifier) (tool-bar-event-apply-hyper-modifier) (tool-bar-event-apply-shift-modifier) (tool-bar-event-apply-control-modifier) (tool-bar-event-apply-meta-modifier): Factor out modifier bar logic to that function, and redisplay the tool bar where necessary. (modifier-bar-available-p): New function. (modifier-bar-mode): Disable tool bar items corresponding to modifier keys that've already been pressed. * etc/images/shift.pbm: Regenerate from correct font. --- etc/images/shift.pbm | Bin 117 -> 169 bytes lisp/tool-bar.el | 239 ++++++++++++------------------------------- 2 files changed, 68 insertions(+), 171 deletions(-) diff --git a/etc/images/shift.pbm b/etc/images/shift.pbm index 53128f56d96900ad6fcef8febba2781fd5153163..fbb1f4abe0688ee4fcf9a1b29b22356102ebfe2c 100644 GIT binary patch literal 169 zcmWGA;Zjy`E=o--Nlj5ms#I|I^bJrbOD!tS%+FIW(la#BGd58O@bgtD$SF