mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
WindowServer: Introduce a WM event mask so Taskbar can ignore window rects.
Taskbar was waking up to do nothing every time a window rect changed.
This commit is contained in:
parent
ab94a6be00
commit
49e7ffc06a
10 changed files with 97 additions and 3 deletions
|
@ -57,6 +57,13 @@ enum class WSAPI_StandardCursor : unsigned char {
|
|||
ResizeVertical,
|
||||
};
|
||||
|
||||
enum WSAPI_WMEventMask : unsigned {
|
||||
WindowRectChanges = 1 << 0,
|
||||
WindowStateChanges = 1 << 1,
|
||||
WindowIconChanges = 1 << 2,
|
||||
WindowRemovals = 1 << 3,
|
||||
};
|
||||
|
||||
struct WSAPI_ServerMessage {
|
||||
enum Type : unsigned {
|
||||
Invalid,
|
||||
|
@ -97,6 +104,7 @@ struct WSAPI_ServerMessage {
|
|||
ScreenRectChanged,
|
||||
WM_WindowRemoved,
|
||||
WM_WindowStateChanged,
|
||||
WM_WindowRectChanged,
|
||||
WM_WindowIconChanged,
|
||||
};
|
||||
Type type { Invalid };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue