summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-08-30 17:22:55 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-08-30 17:22:55 +0200
commitb4f123d1f2af8e7b42c730789d863aa22ea9fb56 (patch)
treecea166b528d45d3a546b390ac46f9f1b516883d2 /src
parent28a90d6055f7b616c611c839967765f6536a7cd9 (diff)
compositor: remove wlr_scene refs
super old leftovers
Diffstat (limited to 'src')
-rw-r--r--src/Compositor.cpp3
-rw-r--r--src/Compositor.hpp4
-rw-r--r--src/includes.hpp2
3 files changed, 3 insertions, 6 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index c74eb681..1f755be0 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -165,9 +165,6 @@ void CCompositor::initServer() {
m_sWLROutputPowerMgr = wlr_output_power_manager_v1_create(m_sWLDisplay);
- m_sWLRScene = wlr_scene_create();
- wlr_scene_attach_output_layout(m_sWLRScene, m_sWLROutputLayout);
-
m_sWLRXDGShell = wlr_xdg_shell_create(m_sWLDisplay, 5);
m_sWLRCursor = wlr_cursor_create();
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index 09f3d193..eb396cf1 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -28,7 +28,8 @@
#include "hyprerror/HyprError.hpp"
#include "plugins/PluginSystem.hpp"
-enum eManagersInitStage {
+enum eManagersInitStage
+{
STAGE_PRIORITY = 0,
STAGE_LATE
};
@@ -61,7 +62,6 @@ class CCompositor {
wlr_virtual_keyboard_manager_v1* m_sWLRVKeyboardMgr;
wlr_output_manager_v1* m_sWLROutputMgr;
wlr_presentation* m_sWLRPresentation;
- wlr_scene* m_sWLRScene;
wlr_input_inhibit_manager* m_sWLRInhibitMgr;
wlr_keyboard_shortcuts_inhibit_manager_v1* m_sWLRKbShInhibitMgr;
wlr_egl* m_sWLREGL;
diff --git a/src/includes.hpp b/src/includes.hpp
index 62780e95..23624a0a 100644
--- a/src/includes.hpp
+++ b/src/includes.hpp
@@ -70,7 +70,7 @@ extern "C" {
#include <wlr/types/wlr_xdg_output_v1.h>
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/types/wlr_subcompositor.h>
-#include <wlr/types/wlr_scene.h>
+#include <wlr/types/wlr_damage_ring.h>
#include <wlr/types/wlr_input_inhibitor.h>
#include <wlr/types/wlr_keyboard_shortcuts_inhibit_v1.h>
#include <wlr/types/wlr_virtual_pointer_v1.h>