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

WindowServer: Don't crash when trying to set invalid effects

This commit is contained in:
Ben Wiederhake 2023-06-01 20:31:29 +02:00 committed by Andreas Kling
parent 7ce4cbfe1d
commit 522809032a
2 changed files with 8 additions and 2 deletions

View file

@ -15,14 +15,16 @@ namespace WindowServer {
enum class TileWindow : u8 {
TileImmediately,
ShowTileOverlay,
Never
Never,
__Count
};
enum class ShowGeometry : u8 {
OnMoveAndResize,
OnMoveOnly,
OnResizeOnly,
Never
Never,
__Count
};
enum class Effects : size_t {