mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 03:56:16 +00:00
LibGUI+WindowServer: Replace WindowInput{Enter,Leave} Events
with WindowInput{Preempted,Restored} Events and allow Widgets to save the state of their focus preemption. As of now, only Popups will preempt input and trigger these events.
This commit is contained in:
parent
901878bad9
commit
5d567565a4
Notes:
sideshowbarker
2024-07-17 04:19:05 +09:00
Author: https://github.com/thankyouverycool
Commit: 5d567565a4
Pull-request: https://github.com/SerenityOS/serenity/pull/16098
11 changed files with 50 additions and 45 deletions
|
@ -341,9 +341,9 @@ private:
|
|||
explicit WindowManager(Gfx::PaletteImpl const&);
|
||||
|
||||
void notify_new_active_window(Window&);
|
||||
void notify_new_active_input_window(Window&);
|
||||
void notify_previous_active_window(Window&);
|
||||
void notify_previous_active_input_window(Window&);
|
||||
void notify_active_window_input_preempted();
|
||||
void notify_active_window_input_restored();
|
||||
|
||||
void process_mouse_event(MouseEvent&);
|
||||
void process_event_for_doubleclick(Window& window, MouseEvent& event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue