]> git.eshelyaron.com Git - emacs.git/commit
Avoid extraneous calls to the UI thread
authorPo Lu <luangruo@yahoo.com>
Sun, 11 Jun 2023 00:52:10 +0000 (08:52 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 11 Jun 2023 00:52:10 +0000 (08:52 +0800)
commit5abc977bbb2d38f3c607f1575e02aa7a6c483db0
treedbea7818623dc1a6092b7ebf91b35a23f396c7c8
parentf9cede52faf790dcf925e409e7a9588509f076a2
Avoid extraneous calls to the UI thread

* java/org/gnu/emacs/EmacsView.java (EmacsView)
(showOnScreenKeyboard, hideOnScreenKeyboard)
(onCheckIsTextEditor): Make synchronized.
* java/org/gnu/emacs/EmacsWindow.java (EmacsWindow)
(toggleOnScreenKeyboard): Don't post to the main thread.
java/org/gnu/emacs/EmacsView.java
java/org/gnu/emacs/EmacsWindow.java