|
From: | Po Lu |
Subject: | bug#59351: 29.0.50; [PATCH] Fix mouse click position to menu bar entry |
Date: | Fri, 18 Nov 2022 21:24:58 +0800 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
Manuel Giraud <manuel@ledu-giraud.fr> writes: > I don't know. Maybe in some distant future, menu bar will be anywhere > :-) It also helps with the previous comment about event position being > relative to frame because here we are converting in f->menu_bar_window. If so, then why not stay safe and use the FRAME_TO_WINDOW_PIXEL_ macros to convert the coordinates to that of the menu bar window?
[Prev in Thread] | Current Thread | [Next in Thread] |