summaryrefslogtreecommitdiff
path: root/src/compositor/extensions/qwaylandquickshellintegration.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2022-04-21 08:46:43 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2022-05-03 06:46:50 +0200
commit6d8e7567d7d1737c240cfca4402bf6ec5a67b02e (patch)
treedabeabdcaaee30525194b267f51384cf27c83103 /src/compositor/extensions/qwaylandquickshellintegration.h
parente58eb814c84d506b47469d000b4913b6d3d61dc2 (diff)
downloadqtwayland-6d8e7567d7d1737c240cfca4402bf6ec5a67b02e.tar.gz
Allow multiple client buffer integrations to initialize
This amends 585f20dce37c398d8b2e6367008e3329dac79e24 where support for multiple client buffer integrations was added. Previously, this would not work unless you also set QT_WAYLAND_IGNORE_BIND_DISPLAY in the environment, because we would fail if eglBindWaylandDisplayWL() returned false, which it will when the display is already bound. Instead, we assume the display is correctly bound when the function returns false, and then we make sure we unbind from the same integration that originally did the bind. The patch adds unbind to the destructor of linux-dmabuf and eglstream integrations. This was previously missing. [ChangeLog][QtWaylandCompositor] Enabled support for multiple client buffer integrations without the need to set the QT_WAYLAND_IGNORE_BIND_DISPLAY environment variable. Fixes: QTBUG-101366 Change-Id: Iefeb865b540d96a55d3be9b9c1fb41bf388638ca Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/compositor/extensions/qwaylandquickshellintegration.h')
0 files changed, 0 insertions, 0 deletions