mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2025-11-23 02:02:43 -05:00
Compare commits
7 Commits
Plasma/6.5
...
v6.4.4
| Author | SHA1 | Date | |
|---|---|---|---|
| a3970f0741 | |||
| 435754d5ed | |||
| 17be829bb1 | |||
| df7275e1af | |||
| 3f74479172 | |||
| 04dc6c3d37 | |||
| 6e9391e734 |
@ -4,7 +4,7 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(layershellqt)
|
||||
set(PROJECT_VERSION "6.3.90")
|
||||
set(PROJECT_VERSION "6.4.4")
|
||||
set(PROJECT_VERSION_MAJOR 6)
|
||||
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
|
||||
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user