feat(wayland): create cross platform window interfaces

Internally this also refactors a ton of code around the wayland
layershell. Note that attachment failures are still broken and
platform interfaces are hardcoded.
This commit is contained in:
outfoxxed 2024-02-25 07:13:54 -08:00
parent 4a82949854
commit c2930783ea
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
20 changed files with 591 additions and 402 deletions

View file

@ -6,7 +6,7 @@
#include <qtypes.h>
#include <qwindow.h>
#include "../core/shellwindow.hpp"
#include "../core/panelinterface.hpp"
namespace Layer { // NOLINT
Q_NAMESPACE;
@ -14,8 +14,12 @@ QML_ELEMENT;
enum Enum {
Background = 0,
/// Above background, usually below windows
Bottom = 1,
/// Commonly used for panels, app launchers, and docks.
/// Usually renders over normal windows and below fullscreen windows.
Top = 2,
/// Usually renders over fullscreen windows
Overlay = 3,
};
Q_ENUM_NS(Enum);