help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding keys to echo area mouse events


From: Amin Bandali
Subject: Re: Binding keys to echo area mouse events
Date: Sun, 03 Jan 2021 12:12:04 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier writes:

>> If not, then I think you'll need to make changes to the C code because
>> otherwise any event sent to the echo area signals "Minibuffer window is
>> not active".
>
> Actually, scratch that: this signal comes from Elisp code, so I was
> just confused.

:-) Indeed, the following seems to be working just fine:

(define-key minibuffer-inactive-mode-map [mouse-4] #'b/exwm-ws-prev)
(define-key minibuffer-inactive-mode-map [mouse-5] #'b/exwm-ws-next)

>
>         Stefan

Thanks!
amin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]