1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

WindowServer+TaskBar: Add a taskbar window button popup menu.

This patch only hooks up the minimize and unminimize actions.
This commit is contained in:
Andreas Kling 2019-04-23 23:14:14 +02:00
parent c5c4e54a67
commit 956bd23aae
17 changed files with 158 additions and 56 deletions

View file

@ -210,6 +210,7 @@ struct WSAPI_ClientMessage {
GetWallpaper,
SetWindowOverrideCursor,
WM_SetActiveWindow,
WM_SetWindowMinimized,
PopupMenu,
DismissMenu,
SetWindowIcon,
@ -236,6 +237,7 @@ struct WSAPI_ClientMessage {
struct {
int client_id;
int window_id;
bool minimized;
} wm;
struct {
int menubar_id;
@ -245,6 +247,7 @@ struct WSAPI_ClientMessage {
int shortcut_text_length;
bool enabled;
WSAPI_Point position;
bool top_anchored;
} menu;
struct {
WSAPI_Rect rect;