Compare commits

...

8 Commits

Author SHA1 Message Date
7a36531245 Update version for new release 6.4.5 2025-09-09 13:14:08 +05:30
a3970f0741 Update version for new release 6.4.4 2025-08-05 11:36:47 +01:00
435754d5ed When activating, also try token from XDG_ACTIVATION_TOKEN
This matches upstream QWaylandXdgSurface behavior.

It also makes various activation magic e.g. KDBusService work.


(cherry picked from commit f599e829ad)

Co-authored-by: Kai Uwe Broulik <kde@privat.broulik.de>
2025-07-31 07:48:11 +00:00
17be829bb1 Update version for new release 6.4.3 2025-07-15 09:15:29 +05:30
df7275e1af Update version for new release 6.4.2 2025-07-01 09:32:28 +05:30
3f74479172 Update version for new release 6.4.1 2025-06-24 12:42:04 +05:30
04dc6c3d37 Update version for new release 6.4.0 2025-06-12 13:31:05 +05:30
6e9391e734 Update version for new release 6.3.91 2025-05-29 14:24:55 +05:30
2 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.16)
project(layershellqt)
set(PROJECT_VERSION "6.3.90")
set(PROJECT_VERSION "6.4.5")
set(PROJECT_VERSION_MAJOR 6)
set(CMAKE_C_STANDARD 99)

View File

@ -211,6 +211,10 @@ bool QWaylandLayerSurface::requestActivate()
activation->activate(m_activationToken, window()->wlSurface());
m_activationToken = {};
return true;
} else if (const auto token = qEnvironmentVariable("XDG_ACTIVATION_TOKEN"); !token.isEmpty()) {
activation->activate(token, window()->wlSurface());
qunsetenv("XDG_ACTIVATION_TOKEN");
return true;
} else {
const auto focusWindow = QGuiApplication::focusWindow();
const auto wlWindow = focusWindow ? static_cast<QtWaylandClient::QWaylandWindow *>(focusWindow->handle()) : window();