Compare commits

..
9 Commits
Author SHA1 Message Date
David Edmundson 1b6a9b5955 Update version for new release 6.6.4 2026-04-07 08:41:29 +02:00
Vlad Zahorodnii 79db29353c Fix spectacle crash
focusWindow may have no platform window.


(cherry picked from commit aac600107a)

Co-authored-by: Vlad Zahorodnii <[email protected]>
2026-03-26 12:29:49 +00:00
Bhushan Shah 109a3adba1 Update version for new release 6.6.3 2026-03-17 14:07:56 +05:30
Bhushan Shah a48f8bcdd5 Update version for new release 6.6.2 2026-03-03 12:08:53 +05:30
Bhushan Shah 2c49feeefe Update version for new release 6.6.1 2026-02-24 12:22:53 +05:30
Bhushan Shah 0665a49432 Update version for new release 6.6.0 2026-02-12 12:14:31 +05:30
Bhushan Shah 211decbae8 Update version for new release 6.5.91 2026-01-27 20:44:21 +05:30
Vlad Zahorodnii 60b7d27ae0 Add Window::screenConfiguration() shim
This shim is for 6.6 to maintain compatibility with previous versions.

(cherry picked from commit dd76feea81)
2026-01-21 15:37:16 +02:00
Vlad Zahorodnii 3dacd70398 Allow specifying explicit desired screen
If the window position is not specified, which is a reasonable thing to
do when using the layer shell protocol, setWidth() and setHeight() can
unintentionally change the screen() to the wrong one.

This change adds a setScreen() function so it's harder to shoot
yourself in the foot while using the layer shell protocol.

(cherry picked from commit 430ad3630f)
2026-01-21 15:37:16 +02:00
3 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ Dependencies:
'third-party/wayland-protocols': '@latest'
Options:
require-passing-tests-on: ['@all']
require-passing-tests-on: ['Linux', 'FreeBSD', 'Windows']
+7 -5
View File
@@ -4,13 +4,13 @@
cmake_minimum_required(VERSION 3.16)
project(layershellqt)
set(PROJECT_VERSION "6.8.0")
set(PROJECT_VERSION "6.6.4")
set(PROJECT_VERSION_MAJOR 6)
set(CMAKE_C_STANDARD 99)
set(QT_MIN_VERSION "6.11.0")
set(KF6_MIN_VERSION "6.30.0")
set(QT_MIN_VERSION "6.10.0")
set(KF6_MIN_VERSION "6.22.0")
set(KDE_COMPILERSETTINGS_LEVEL "5.82")
set(CMAKE_CXX_STANDARD 20)
@@ -36,7 +36,9 @@ include(ECMGenerateExportHeader)
find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS WaylandClient Qml)
find_package(Qt6WaylandClientPrivate ${QT_MIN_VERSION} REQUIRED NO_MODULE)
if (Qt6WaylandClient_VERSION VERSION_GREATER_EQUAL "6.10.0")
find_package(Qt6WaylandClientPrivate ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
endif()
find_package(WaylandScanner REQUIRED)
find_package(Wayland 1.3 COMPONENTS Client Server)
@@ -60,7 +62,7 @@ kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES})
kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT)
ecm_set_disabled_deprecation_versions(QT 6.8.1
KF 6.29.0
KF 6.9.0
)
add_subdirectory(src)
+4 -1
View File
@@ -7,8 +7,11 @@ add_library(LayerShellQtInterface)
qt6_extract_metatypes(LayerShellQtInterface)
if (Qt6_VERSION VERSION_GREATER_EQUAL "6.8.0")
set(private_code_option "PRIVATE_CODE")
endif()
qt6_generate_wayland_protocol_client_sources(LayerShellQtInterface
PRIVATE_CODE
${private_code_option}
FILES
${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml
${WaylandProtocols_DATADIR}/staging/xdg-activation/xdg-activation-v1.xml