From: Robert Pluim <rpluim@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Markus FFM <markusffm@fn.de>, 39808@debbugs.gnu.org
Subject: bug#39808: 28.0.50; toolbar broken
Date: Thu, 27 Feb 2020 17:49:15 +0100 [thread overview]
Message-ID: <m2h7zc3rhw.fsf@gmail.com> (raw)
In-Reply-To: <m2lfoo3rr1.fsf@gmail.com> (Robert Pluim's message of "Thu, 27 Feb 2020 17:43:46 +0100")
>>>>> On Thu, 27 Feb 2020 17:43:46 +0100, Robert Pluim <rpluim@gmail.com> said:
Robert> That fixes it for GTK. For NS, the buffer does not get killed, and I
Robert> get the following in the terminal:
Robert> 2020-02-27 17:40:03.139 emacs[41579:935742] -[NSControlAuxiliary
Robert> modifierFlags]: unrecognized selector sent to instance 0x7fd582c6c8c0
Robert> To be fair, it might have been doing this before: I never run with the
Robert> tool bar.
I think you were over-enthusiastic with your pruning, I put back the
initialisation of theEvent, that fixes this (Iʼm a bit pressed for
time tonight, so canʼt commit it right now).
diff --git a/src/nsterm.m b/src/nsterm.m
index aefbb2721e..84acb61dcd 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -8185,6 +8185,7 @@ - (instancetype)toolbarClicked: (id)item
if (!emacs_event)
return self;
+ theEvent = [[self window] currentEvent];
emacs_event->kind = TOOL_BAR_EVENT;
/* XSETINT (emacs_event->code, 0); */
emacs_event->arg = AREF (emacsframe->tool_bar_items,
next prev parent reply other threads:[~2020-02-27 16:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-27 12:30 bug#39808: 28.0.50; toolbar broken Markus FFM
2020-02-27 13:23 ` Robert Pluim
2020-02-27 16:19 ` Stefan Monnier
[not found] ` <20200227163456.GA1187539@INDRA>
2020-02-27 16:40 ` Stefan Monnier
2020-02-27 16:43 ` Robert Pluim
2020-02-27 16:49 ` Robert Pluim [this message]
2020-02-27 17:33 ` Stefan Monnier
[not found] ` <20200227184358.GA1206030@INDRA>
2020-02-27 19:12 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2h7zc3rhw.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=39808@debbugs.gnu.org \
--cc=markusffm@fn.de \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.