summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2022-12-13 04:18:26 +0100
committerAlexander Orzechowski <alex@ozal.ski>2022-12-13 19:23:35 +0100
commit29fbce9fe6007ca0d7aafebb47fe9c5edbfe9393 (patch)
treeb32cd417ec1452f9d0c66f37cb729a6010e9cc07 /src
parentemu_window_sdl2: Respect hidpi (diff)
downloadyuzu-29fbce9fe6007ca0d7aafebb47fe9c5edbfe9393.tar
yuzu-29fbce9fe6007ca0d7aafebb47fe9c5edbfe9393.tar.gz
yuzu-29fbce9fe6007ca0d7aafebb47fe9c5edbfe9393.tar.bz2
yuzu-29fbce9fe6007ca0d7aafebb47fe9c5edbfe9393.tar.lz
yuzu-29fbce9fe6007ca0d7aafebb47fe9c5edbfe9393.tar.xz
yuzu-29fbce9fe6007ca0d7aafebb47fe9c5edbfe9393.tar.zst
yuzu-29fbce9fe6007ca0d7aafebb47fe9c5edbfe9393.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/bootmanager.cpp1
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);
}