mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-04 19:04:56 +11:00
wip ext-ws
This commit is contained in:
parent
05fbead660
commit
49fe1ca43f
18 changed files with 1040 additions and 0 deletions
14
src/wayland/windowmanager/windowmanager.cpp
Normal file
14
src/wayland/windowmanager/windowmanager.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include "windowmanager.hpp"
|
||||
|
||||
namespace qs::wm::wayland {
|
||||
|
||||
WaylandWindowManager* WaylandWindowManager::instance() {
|
||||
static auto* instance = new WaylandWindowManager();
|
||||
return instance;
|
||||
}
|
||||
|
||||
void installWmProvider() {
|
||||
qs::wm::WindowManager::setProvider([]() { return WaylandWindowManager::instance(); });
|
||||
}
|
||||
|
||||
} // namespace qs::wm::wayland
|
||||
Loading…
Add table
Add a link
Reference in a new issue