Compare commits

..

6 Commits

Author SHA1 Message Date
a48f8bcdd5 Update version for new release 6.6.2 2026-03-03 12:08:53 +05:30
2c49feeefe Update version for new release 6.6.1 2026-02-24 12:22:53 +05:30
0665a49432 Update version for new release 6.6.0 2026-02-12 12:14:31 +05:30
211decbae8 Update version for new release 6.5.91 2026-01-27 20:44:21 +05:30
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
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
2 changed files with 5 additions and 2 deletions

View File

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

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