diff options
| author | Bob Weiner <rsw@gnu.org> | 2019-02-16 19:58:49 -0500 |
|---|---|---|
| committer | Bob Weiner <rsw@gnu.org> | 2019-02-16 19:58:49 -0500 |
| commit | 414ef9413b353bea80d9105b12d6ff1a2b3e13aa (patch) | |
| tree | 84a4a8a4d4b887a9a54287a85886cafa454269e3 /hyperbole.el | |
| parent | 17724eff30c08f287e9884fccb72533d179f065d (diff) | |
Update for treemacs compatibility; {M-o i} push button fixes
Diffstat (limited to 'hyperbole.el')
| -rw-r--r-- | hyperbole.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hyperbole.el b/hyperbole.el index 6a13e2f..4aa427d 100644 --- a/hyperbole.el +++ b/hyperbole.el @@ -355,6 +355,16 @@ bindings after load)." ;;; Load Hyperbole mouse bindings ;;; ************************************************************************ +;; From mouse-position.c in Emacs: +;; f = SELECTED_FRAME (); +;; XSETFRAME (lispy_dummy, f); +;; +;; It seems like the XSETFRAME macro is not properly copying the value of f on initial frame selection under the macOS window system. +;; The problem occurs on other systems as well, e.g. Emacs 25.2 under Windows 7. +;; +;; Hyperbole resolves this problem by setting the +;; `mouse-position-function' variable below to properly set the +;; newly selected frame. (if (boundp 'mouse-position-function) (setq mouse-position-function (lambda (frame-x-dot-y) |
