https://bugs.kde.org/show_bug.cgi?id=493647

Kai Uwe Broulik <k...@privat.broulik.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kwindowsystem/-/comm
                   |                            |it/daa3cda4d4831b692f504f98
                   |                            |aa6eeddabceb64a1
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #10 from Kai Uwe Broulik <k...@privat.broulik.de> ---
Git commit daa3cda4d4831b692f504f98aa6eeddabceb64a1 by Kai Uwe Broulik.
Committed on 16/04/2025 at 07:00.
Pushed by broulik into branch 'master'.

Wayland: Set XDG dialog modal in setMainWindow when applicable

Before Qt 6.10, Qt's built-in XDG Dialog support only sets modal when
it has an in-process transient parent. It wouldn't know that we'll be
setting a parent through XDG Foreign afterwards.

Have setMainWindow check for Qt version and window modality and use
XDG Dialog to make the parent-child relationship modal.

M  +3    -0    src/platforms/wayland/CMakeLists.txt
M  +15   -0    src/platforms/wayland/surfacehelper.h
A  +48   -0    src/platforms/wayland/waylandxdgdialogv1.cpp     [License:
LGPL(v2.0+)]
A  +36   -0    src/platforms/wayland/waylandxdgdialogv1_p.h     [License:
LGPL(v2.0+)]
M  +15   -0    src/platforms/wayland/windowsystem.cpp

https://invent.kde.org/frameworks/kwindowsystem/-/commit/daa3cda4d4831b692f504f98aa6eeddabceb64a1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to