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

WindowServer: Add WM_SetActiveWindow client request and use it in Taskbar.

This makes it possible for Taskbar to switch windows. :^)
This commit is contained in:
Andreas Kling 2019-04-04 14:38:53 +02:00
parent 8a50218190
commit ce7341be87
7 changed files with 58 additions and 1 deletions

View file

@ -185,6 +185,7 @@ struct WSAPI_ClientMessage {
SetWallpaper,
GetWallpaper,
SetWindowOverrideCursor,
WM_SetActiveWindow,
};
Type type { Invalid };
int window_id { -1 };
@ -196,6 +197,10 @@ struct WSAPI_ClientMessage {
struct {
int client_pid;
} greeting;
struct {
int client_id;
int window_id;
} wm;
struct {
int menubar_id;
int menu_id;