Some checks failed
Build hyprland-git / Build and push image (push) Failing after 4m44s
22 lines
684 B
Diff
22 lines
684 B
Diff
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
|
|
index 0d9c2f8..3bcaace 100644
|
|
--- a/src/Compositor.cpp
|
|
+++ b/src/Compositor.cpp
|
|
@@ -79,6 +79,7 @@
|
|
#include <malloc.h>
|
|
#include <unistd.h>
|
|
#include <xf86drm.h>
|
|
+#include <memory>
|
|
|
|
using namespace Hyprutils::String;
|
|
using namespace Aquamarine;
|
|
@@ -1179,7 +1180,7 @@ PHLWINDOW CCompositor::getWindowFromSurface(SP<CWLSurfaceResource> pSurface) {
|
|
if (VIEW->type() != Desktop::View::VIEW_TYPE_WINDOW)
|
|
return nullptr;
|
|
|
|
- return dynamicPointerCast<Desktop::View::CWindow>(VIEW);
|
|
+ return std::dynamicPointerCast<Desktop::View::CWindow>(VIEW);
|
|
}
|
|
|
|
PHLWINDOW CCompositor::getWindowFromHandle(uint32_t handle) {
|