diff --git a/libui/include/ui/Window.h b/libui/include/ui/Window.h index 9c9dfe00..d0bbdeaa 100644 --- a/libui/include/ui/Window.h +++ b/libui/include/ui/Window.h @@ -19,6 +19,13 @@ namespace ui { + enum class WindowType : u8 + { + Normal, + NotDecorated, + System, + }; + class Window { public: diff --git a/libui/include/ui/ipc/Server.h b/libui/include/ui/ipc/Server.h index 8c1cc278..0039b834 100644 --- a/libui/include/ui/ipc/Server.h +++ b/libui/include/ui/ipc/Server.h @@ -25,13 +25,7 @@ namespace ui CLOSE_WINDOW_ID, GET_SCREEN_RECT_ID, SET_TITLEBAR_HEIGHT_ID, - }; - - enum class WindowType : u8 - { - Normal, - NotDecorated, - System, + SET_SPECIAL_WINDOW_ATTRIBUTES_ID, }; struct CreateWindowRequest @@ -40,7 +34,6 @@ namespace ui static constexpr u8 ID = CREATE_WINDOW_ID; ui::Rect rect; - WindowType type; }; struct RemoveSharedMemoryRequest