X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=meta-agl-profile-graphical-qt5%2Frecipes-qt%2Fqt5%2Fqtwayland-config%2Fqtwayland;h=a371c6c4e74d71387f1a2f9cdbd78207760f2b76;hb=7d1fefaeea3442d4a93ef7f679d9e4cc5438854f;hp=504af42b879e9e9f5c935e9c5a4412e4ff3f1b75;hpb=e238a444dc7ea5c72d20ea38cf693f70d4539623;p=AGL%2Fmeta-agl.git diff --git a/meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtwayland-config/qtwayland b/meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtwayland-config/qtwayland index 504af42b8..a371c6c4e 100644 --- a/meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtwayland-config/qtwayland +++ b/meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtwayland-config/qtwayland @@ -1,2 +1,12 @@ QT_WAYLAND_SHELL_INTEGRATION=@QT_WAYLAND_DEFAULT_SHELL@ -QT_WAYLAND_RESIZE_AFTER_SWAP=1 +# The following might be necessary when multiple/split surfaces are created. +# Without this, QtWayland will sometimes maintain the same/old size even if the +# split surface is destroyed. +# We keep it disabled by default as it causes an additional repaint of the +# surface until the compositor sends a configure event to scale the window to +# the actual area. Typical windows will, by default, have an initial size set +# by qtwayland when starting-up (without an explicit size specified by the +# application). +# Note that QtWayland will only test the presence of the environment variable +# so it will be enabled even if set to 0 +# QT_WAYLAND_RESIZE_AFTER_SWAP=1