mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:07:45 +00:00
WindowServer: Give windows a "background color" to use for missing parts.
When resizing a window, we often end up having to paint some part of it without coverage in the current backing store. This patch makes those cases look nicer by having a fallback background color for each window, passed along with the CreateWindow client message.
This commit is contained in:
parent
30e2d62c38
commit
d4818dd2dd
9 changed files with 30 additions and 2 deletions
|
@ -221,6 +221,7 @@ struct WSAPI_ClientMessage {
|
|||
float opacity;
|
||||
WSAPI_Size base_size;
|
||||
WSAPI_Size size_increment;
|
||||
WSAPI_Color background_color;
|
||||
} window;
|
||||
struct {
|
||||
WSAPI_Size size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue