diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-06-29 22:23:51 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-06-29 22:23:51 +0200 |
| commit | d28151d255e2a629b401e23dd5dcaaffa70207ab (patch) | |
| tree | 590db8ec7d7f4d026554b993dc1d6ee3906e4a3e /src/Compositor.cpp | |
| parent | be390dacfda20112be5530b9d030ff92e6008cd2 (diff) | |
added foreign support
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index b5851614..afffe7a6 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -121,6 +121,11 @@ CCompositor::CCompositor() { m_sWLRToplevelMgr = wlr_foreign_toplevel_manager_v1_create(m_sWLDisplay); m_sWLRTabletManager = wlr_tablet_v2_create(m_sWLDisplay); + + m_sWLRForeignRegistry = wlr_xdg_foreign_registry_create(m_sWLDisplay); + + wlr_xdg_foreign_v1_create(m_sWLDisplay, m_sWLRForeignRegistry); + wlr_xdg_foreign_v2_create(m_sWLDisplay, m_sWLRForeignRegistry); } CCompositor::~CCompositor() { |
