mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibGUI+WindowServer: Keep canonical WindowType enum in WindowServer
Having the same enum in two places was annoying. Let's just "using" the WindowServer::WindowType enum into the GUI namespace.
This commit is contained in:
parent
2036d7518a
commit
50a8e0e495
Notes:
sideshowbarker
2024-07-18 20:58:01 +09:00
Author: https://github.com/awesomekling
Commit: 50a8e0e495
2 changed files with 7 additions and 15 deletions
|
@ -26,21 +26,10 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <Services/WindowServer/WindowType.h>
|
||||
|
||||
namespace GUI {
|
||||
|
||||
// Keep this in sync with WindowServer::WindowType.
|
||||
enum class WindowType {
|
||||
Invalid = 0,
|
||||
Normal,
|
||||
Menu,
|
||||
WindowSwitcher,
|
||||
Taskbar,
|
||||
Tooltip,
|
||||
Menubar,
|
||||
MenuApplet,
|
||||
Notification,
|
||||
Desktop,
|
||||
ToolWindow,
|
||||
};
|
||||
using WindowType = WindowServer::WindowType;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue