universedesktop: obs wayland fix
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
diff --git a/UI/window-projector.cpp b/UI/window-projector.cpp
|
||||||
|
index e61f23182..a405e9f17 100644
|
||||||
|
--- a/UI/window-projector.cpp
|
||||||
|
+++ b/UI/window-projector.cpp
|
||||||
|
@@ -37,11 +37,6 @@ OBSProjector::OBSProjector(QWidget *widget, obs_source_t *source_, int monitor,
|
||||||
|
// can skip it
|
||||||
|
windowHandle()->setProperty("isOBSProjectorWindow", true);
|
||||||
|
|
||||||
|
-#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
||||||
|
- // Prevents resizing of projector windows
|
||||||
|
- setAttribute(Qt::WA_PaintOnScreen, false);
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
type = type_;
|
||||||
|
#ifdef __APPLE__
|
||||||
|
setWindowIcon(
|
||||||
@@ -18,6 +18,12 @@
|
|||||||
(patch' "0005-Avoid-error-on-startup")
|
(patch' "0005-Avoid-error-on-startup")
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
obs-studio = prev.obs-studio.overrideAttrs (old: {
|
||||||
|
patches = (old.patches or []) ++ [
|
||||||
|
./obs-wayland-window-projection.patch
|
||||||
|
];
|
||||||
|
});
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
# Wayland support
|
# Wayland support
|
||||||
|
|||||||
Reference in New Issue
Block a user