mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2026-05-26 05:28:25 -04:00
Compare commits
9 Commits
Plasma/6.7
...
Plasma/6.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1317ba122 | ||
|
|
7a36531245 | ||
|
|
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.6")
|
||||
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