diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2022-12-12 22:18:26 -0500 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2022-12-13 13:23:35 -0500 |
commit | 29fbce9fe6007ca0d7aafebb47fe9c5edbfe9393 (patch) | |
tree | b32cd417ec1452f9d0c66f37cb729a6010e9cc07 /src/yuzu/bootmanager.cpp | |
parent | 5754456292e920810e3b036b851c05c5332353ce (diff) |
RenderWidget: Set WA_DontCreateNativeAncestors
Some windowing systems like wayland are designed to show hardware accellerated
surfaces as subsurfaces and not native windows.
Diffstat (limited to 'src/yuzu/bootmanager.cpp')
-rw-r--r-- | src/yuzu/bootmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp index 1437dec88..d2103e86f 100644 --- a/src/yuzu/bootmanager.cpp +++ b/src/yuzu/bootmanager.cpp @@ -223,6 +223,7 @@ class RenderWidget : public QWidget { public: explicit RenderWidget(GRenderWindow* parent) : QWidget(parent), render_window(parent) { setAttribute(Qt::WA_NativeWindow); + setAttribute(Qt::WA_DontCreateNativeAncestors); setAttribute(Qt::WA_PaintOnScreen); } |