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

WindowServer: Support PNG wallpapers.

Fix up /bin/pape so it tells the WindowServer which wallpaper file to use.
This commit is contained in:
Andreas Kling 2019-03-21 15:54:19 +01:00
parent fe25f957e5
commit e4dfd5a3a4
15 changed files with 150 additions and 12890 deletions

View file

@ -82,11 +82,14 @@ struct WSAPI_ServerMessage {
DidGetClipboardContents,
DidSetClipboardContents,
DidSetWindowBackingStore,
DidSetWallpaper,
DidGetWallpaper,
};
Type type { Invalid };
int window_id { -1 };
int text_length { 0 };
char text[256];
int value { 0 };
union {
struct {
@ -159,6 +162,8 @@ struct WSAPI_ClientMessage {
GetClipboardContents,
SetClipboardContents,
Greeting,
SetWallpaper,
GetWallpaper,
};
Type type { Invalid };
int window_id { -1 };