diff options
author | Kai Uwe Broulik <kde@privat.broulik.de> | 2024-03-13 17:39:41 +0100 |
---|---|---|
committer | Kai Uwe Broulik <kde@privat.broulik.de> | 2024-04-26 19:31:15 +0100 |
commit | b875b566b23396acc0662ae6c39b503334063052 (patch) | |
tree | d9d4140831d25757d30eb2dc987993db2fcefa19 /src/hardwareintegration/compositor/xcomposite-glx/xcompositeglxintegration.h | |
parent | 2c2763760bcdd8894cfe9d9a1c07f7b022692892 (diff) |
For simplicitly, a Wayland compositor typically activates a window
when it is mapped. However, it does not necessarily have to and
might not want to in order to prevent stealing focus.
Inttroduce a requestActivateOnShow() on the shell which is called
when showing a window and, in case of XDG Shell, will explicitly
request activation (unless Qt::WA_ShowWithoutActivating is set)
and make use of the existing XDG Activation infrastructure.
Change-Id: I69ab5f2cee4540d5baefa5a266f22dbb165e4192
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Diffstat (limited to 'src/hardwareintegration/compositor/xcomposite-glx/xcompositeglxintegration.h')
0 files changed, 0 insertions, 0 deletions