diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-21 00:21:23 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-21 00:21:23 +0100 |
commit | 6084cd0c56f9d1949b8bb07db5729d2a0108d5a4 (patch) | |
tree | 63aa1fb2ff50cc5c132c6be67b671e316ca05bf2 /WindowServer/WSAPITypes.h | |
parent | fd575055c2215ce2ce42efaa82be53a94c7b3932 (diff) | |
download | serenity-6084cd0c56f9d1949b8bb07db5729d2a0108d5a4.zip |
Add concept of size increments to windowing system.
Use this to implement incremental resizing for Terminal so that we only
ever resize to fit a perfect number of rows and columns.
This is very nice. :^)
Diffstat (limited to 'WindowServer/WSAPITypes.h')
-rw-r--r-- | WindowServer/WSAPITypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WindowServer/WSAPITypes.h b/WindowServer/WSAPITypes.h index da39a9a04e..9cd0fea2d8 100644 --- a/WindowServer/WSAPITypes.h +++ b/WindowServer/WSAPITypes.h @@ -170,6 +170,8 @@ struct WSAPI_ClientMessage { WSAPI_Rect rect; bool has_alpha_channel; float opacity; + WSAPI_Size base_size; + WSAPI_Size size_increment; } window; struct { WSAPI_Size size; |