libui: Move WindowType from ipc/Server.h to Window.h as it is no longer used in IPC

This commit is contained in:
apio 2024-02-04 13:16:50 +01:00
parent b9ccda132a
commit 9bb66716a4
Signed by: apio
GPG Key ID: B8A7D06E42258954
2 changed files with 8 additions and 8 deletions

View File

@ -19,6 +19,13 @@
namespace ui
{
enum class WindowType : u8
{
Normal,
NotDecorated,
System,
};
class Window
{
public:

View File

@ -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