Attempt with patch to see if fixes compile issues
Some checks failed
Build hyprland-git / Build and push image (push) Failing after 4m44s
Some checks failed
Build hyprland-git / Build and push image (push) Failing after 4m44s
This commit is contained in:
21
hyprland-git/dynamicPointerCast.patch
Normal file
21
hyprland-git/dynamicPointerCast.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
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) {
|
||||
Reference in New Issue
Block a user