* bug#72731: Wrong source comment in src/w32term.c
@ 2024-08-20 11:43 Cecilio Pardo
0 siblings, 0 replies; only message in thread
From: Cecilio Pardo @ 2024-08-20 11:43 UTC (permalink / raw)
To: 72731
I think this comment in w32term.c is wrong:
...
case WM_RBUTTONUP:
case WM_XBUTTONDOWN:
case WM_XBUTTONUP:
{
/* If we decide we want to generate an event to be seen
by the rest of Emacs, we put it here. */
Lisp_Object tab_bar_arg = Qnil;
bool tab_bar_p = 0;
...
It was added on
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=791f420fea18d7ef5ddfc386509de2c84d4f39c3
+ /* If we decide we want to generate an event to be seen
+ by the rest of Emacs, we put it here. */
+ struct input_event emacs_event;
+ int tool_bar_p = 0;
int button;
int up;
The comment is attached to the emacs_event variable?
The variable was then removed on:
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=004b1d3853dbb7ef5c5b2e3b5d011718e602c33a
/* If we decide we want to generate an event to be seen
by the rest of Emacs, we put it here. */
- struct input_event emacs_event;
int tool_bar_p = 0;
int button;
int up;
But the comment stayed there for years to come.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-20 11:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-20 11:43 bug#72731: Wrong source comment in src/w32term.c Cecilio Pardo
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).