mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 08:10:02 +00:00
LibGUI: Remove bitrotted automatic keybinds feature
This feature hasn't been working at all for several months, so let's just remove it and simplify GWindow event handling.
This commit is contained in:
parent
c85bdff57a
commit
23e16a3e2e
Notes:
sideshowbarker
2024-07-19 10:38:27 +09:00
Author: https://github.com/awesomekling
Commit: 23e16a3e2e
6 changed files with 4 additions and 132 deletions
|
@ -145,10 +145,6 @@ protected:
|
|||
private:
|
||||
virtual bool is_window() const override final { return true; }
|
||||
|
||||
void paint_keybinds();
|
||||
|
||||
void collect_keyboard_activation_targets();
|
||||
|
||||
NonnullRefPtr<GraphicsBitmap> create_backing_bitmap(const Size&);
|
||||
NonnullRefPtr<GraphicsBitmap> create_shared_bitmap(GraphicsBitmap::Format, const Size&);
|
||||
void set_current_backing_bitmap(GraphicsBitmap&, bool flush_immediately = false);
|
||||
|
@ -178,9 +174,5 @@ private:
|
|||
bool m_resizable { true };
|
||||
bool m_fullscreen { false };
|
||||
bool m_show_titlebar { true };
|
||||
bool m_keybind_mode { false };
|
||||
String m_entered_keybind;
|
||||
size_t m_max_keybind_length { 0 };
|
||||
HashMap<String, WeakPtr<GWidget>> m_keyboard_activation_targets;
|
||||
bool m_layout_pending { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue