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:
thankyouverycool 2022-11-17 08:39:20 -05:00 committed by Andreas Kling
commit 5d567565a4
Notes: sideshowbarker 2024-07-17 04:19:05 +09:00
11 changed files with 50 additions and 45 deletions

View file

@ -42,8 +42,8 @@ public:
WindowLeft,
WindowBecameInactive,
WindowBecameActive,
WindowInputEntered,
WindowInputLeft,
WindowInputPreempted,
WindowInputRestored,
FocusIn,
FocusOut,
WindowCloseRequest,