mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 12:06:07 +00:00
LibVT: Snapshot the URL we're opening a context menu for
Otherwise it may get lost due to a leave event firing in the widget.
This commit is contained in:
parent
31ec4de0ee
commit
c3aa249a36
Notes:
sideshowbarker
2024-07-19 06:48:21 +09:00
Author: https://github.com/awesomekling
Commit: c3aa249a36
2 changed files with 9 additions and 4 deletions
|
@ -133,6 +133,9 @@ private:
|
|||
String m_hovered_href;
|
||||
String m_hovered_href_id;
|
||||
|
||||
// Snapshot of m_hovered_href when opening a context menu for a hyperlink.
|
||||
String m_context_menu_href;
|
||||
|
||||
bool m_should_beep { false };
|
||||
bool m_belling { false };
|
||||
bool m_alt_key_held { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue