Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package plasma-wayland-protocols for openSUSE:Factory checked in at 2024-01-22 20:30:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma-wayland-protocols (Old) and /work/SRC/openSUSE:Factory/.plasma-wayland-protocols.new.16006 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma-wayland-protocols" Mon Jan 22 20:30:21 2024 rev:12 rq:1140296 version:1.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/plasma-wayland-protocols/plasma-wayland-protocols.changes 2023-01-20 17:38:03.720316068 +0100 +++ /work/SRC/openSUSE:Factory/.plasma-wayland-protocols.new.16006/plasma-wayland-protocols.changes 2024-01-22 20:30:26.776935943 +0100 @@ -1,0 +2,23 @@ +Wed Jan 17 18:46:17 UTC 2024 - Fabian Vogt <fab...@ritter-vogt.de> + +- Update to 1.12.0: + * plasma-shell: Mark set_panel_behaviour as deprecated + * plasma-shell: Drop commented out initial ideas + * add more HDR settings to the output management protocols + * docs: Use "provides" instead of "installs" + * docs: improve readme clarity + * add an icc profile path to output management protocols + * outputdevice,outputmanagement: add auto rotate setting + * fake-input: Add destructor request + * Make filename match virtual desktop protocol name + * Bump version number to allow depending on it + * kde-screen-edge-v1: Add new protocol + * outputdevice,management: add settings for hdr and color managament + * Make plane state values in plasma_window_management + +------------------------------------------------------------------- +Fri Jan 20 10:38:16 UTC 2023 - Fabian Vogt <fab...@ritter-vogt.de> + +- Version got changed to 1.10.0 for consistency + +------------------------------------------------------------------- Old: ---- plasma-wayland-protocols-1.10.tar.xz plasma-wayland-protocols-1.10.tar.xz.sig New: ---- plasma-wayland-protocols-1.12.0.tar.xz plasma-wayland-protocols-1.12.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma-wayland-protocols.spec ++++++ --- /var/tmp/diff_new_pack.uBL0Qb/_old 2024-01-22 20:30:27.564964755 +0100 +++ /var/tmp/diff_new_pack.uBL0Qb/_new 2024-01-22 20:30:27.564964755 +0100 @@ -1,7 +1,7 @@ # # spec file for package plasma-wayland-protocols # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %bcond_without lang Name: plasma-wayland-protocols -Version: 1.10 +Version: 1.12.0 Release: 0 Summary: Wayland protocols used by Plasma License: BSD-3-Clause AND LGPL-2.1-only AND LGPL-2.1-or-later AND MIT ++++++ plasma-wayland-protocols-1.10.tar.xz -> plasma-wayland-protocols-1.12.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/.gitlab-ci.yml new/plasma-wayland-protocols-1.12.0/.gitlab-ci.yml --- old/plasma-wayland-protocols-1.10/.gitlab-ci.yml 2023-01-18 16:27:31.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/.gitlab-ci.yml 2023-12-07 11:06:35.000000000 +0100 @@ -2,8 +2,10 @@ # SPDX-License-Identifier: CC0-1.0 include: - - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml - - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-static.yml - - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml - - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml - - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd-qt6.yml + - project: sysadmin/ci-utilities + file: + - /gitlab-templates/linux.yml + - /gitlab-templates/linux-static.yml + - /gitlab-templates/linux-qt6.yml + - /gitlab-templates/freebsd.yml + - /gitlab-templates/freebsd-qt6.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/.kde-ci.yml new/plasma-wayland-protocols-1.12.0/.kde-ci.yml --- old/plasma-wayland-protocols-1.10/.kde-ci.yml 2023-01-18 16:27:31.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/.kde-ci.yml 2023-12-07 11:06:35.000000000 +0100 @@ -1,7 +1,10 @@ Dependencies: -- 'on': ['@all'] +- 'on': ['Linux/Qt5', 'FreeBSD/Qt5'] 'require': 'frameworks/extra-cmake-modules': '@stable' +- 'on': ['Linux/Qt6', 'FreeBSD/Qt6'] + 'require': + 'frameworks/extra-cmake-modules': '@latest-kf6' Options: test-before-installing: True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/CMakeLists.txt new/plasma-wayland-protocols-1.12.0/CMakeLists.txt --- old/plasma-wayland-protocols-1.10/CMakeLists.txt 2023-01-18 16:27:31.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/CMakeLists.txt 2023-12-07 11:06:35.000000000 +0100 @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.5) -project(PlasmaWaylandProtocols VERSION 1.10.0) +project(PlasmaWaylandProtocols VERSION 1.12.0) include(FeatureSummary) include(CMakePackageConfigHelpers) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/README.md new/plasma-wayland-protocols-1.12.0/README.md --- old/plasma-wayland-protocols-1.10/README.md 2023-01-18 16:27:31.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/README.md 2023-12-07 11:06:35.000000000 +0100 @@ -1,6 +1,6 @@ # Plasma Wayland Protocols -This project should be installing only the xml files of the non-standard wayland +This project provides the xml files of the non-standard wayland protocols we use in Plasma. They are installed to $PREFIX/share/plasma-wayland-protocols. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/src/CMakeLists.txt new/plasma-wayland-protocols-1.12.0/src/CMakeLists.txt --- old/plasma-wayland-protocols-1.10/src/CMakeLists.txt 2023-01-18 16:27:31.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/src/CMakeLists.txt 2023-12-07 11:06:35.000000000 +0100 @@ -17,8 +17,9 @@ protocols/kde-primary-output-v1.xml protocols/kde-output-device-v2.xml protocols/kde-output-management-v2.xml + protocols/kde-screen-edge-v1.xml protocols/plasma-shell.xml - protocols/plasma-virtual-desktop.xml + protocols/org-kde-plasma-virtual-desktop.xml protocols/plasma-window-management.xml protocols/remote-access.xml protocols/server-decoration-palette.xml @@ -37,3 +38,4 @@ # Backward compatibility for previously used non-standard protocol file names # TODO KF6 remove install(FILES protocols/zkde-screencast-unstable-v1.xml RENAME screencast.xml DESTINATION ${KDE_INSTALL_DATADIR}/plasma-wayland-protocols) +install(FILES protocols/org-kde-plasma-virtual-desktop.xml RENAME plasma-virtual-desktop.xml DESTINATION ${KDE_INSTALL_DATADIR}/plasma-wayland-protocols) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/src/protocols/TODOKF6.md new/plasma-wayland-protocols-1.12.0/src/protocols/TODOKF6.md --- old/plasma-wayland-protocols-1.10/src/protocols/TODOKF6.md 2023-01-18 16:27:31.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/src/protocols/TODOKF6.md 2023-12-07 11:06:35.000000000 +0100 @@ -1,4 +1,6 @@ # To be removed +Only remove after Plasma 5 and KF 5 releases end. + * fullscreen-shell.xml: It's upstream https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tree/master/unstable * remote-access.xml: Deprecated in favor of screencast.xml * surface-extension.xml: Deprecated in Qt, not used anymore diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/src/protocols/fake-input.xml new/plasma-wayland-protocols-1.12.0/src/protocols/fake-input.xml --- old/plasma-wayland-protocols-1.10/src/protocols/fake-input.xml 2023-01-18 16:27:31.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/src/protocols/fake-input.xml 2023-12-07 11:06:35.000000000 +0100 @@ -5,7 +5,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later ]]></copyright> - <interface name="org_kde_kwin_fake_input" version="4"> + <interface name="org_kde_kwin_fake_input" version="5"> <description summary="Fake input manager"> This interface allows other processes to provide fake input events. Purpose is on the one hand side to provide testing facilities like XTest on X11. @@ -80,5 +80,11 @@ <arg name="button" type="uint"/> <arg name="state" type="uint"/> </request> + + <!-- Version 5 additions --> + + <request name="destroy" type="destructor" since="5"> + <description summary="Destroy the fake input device"/> + </request> </interface> </protocol> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/src/protocols/kde-output-device-v2.xml new/plasma-wayland-protocols-1.12.0/src/protocols/kde-output-device-v2.xml --- old/plasma-wayland-protocols-1.10/src/protocols/kde-output-device-v2.xml 2023-01-18 16:27:31.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/src/protocols/kde-output-device-v2.xml 2023-12-07 11:06:35.000000000 +0100 @@ -11,7 +11,7 @@ ]]></copyright> - <interface name="kde_output_device_v2" version="2"> + <interface name="kde_output_device_v2" version="6"> <description summary="output configuration representation"> An output device describes a display device available to the compositor. output_device is similar to wl_output, but focuses on output @@ -209,12 +209,20 @@ <description summary="describes capabilities of the outputdevice"> Describes what capabilities this device has. </description> - <entry name="overscan" value="1" + <entry name="overscan" value="0x1" summary="if this output_device can use overscan"/> - <entry name="vrr" value="2" + <entry name="vrr" value="0x2" summary="if this outputdevice supports variable refresh rate"/> - <entry name="rgb_range" value="4" + <entry name="rgb_range" value="0x4" summary="if setting the rgb range is possible"/> + <entry name="high_dynamic_range" value="0x8" since="3" + summary="if this outputdevice supports high dynamic range"/> + <entry name="wide_color_gamut" value="0x10" since="3" + summary="if this outputdevice supports a wide color gamut"/> + <entry name="auto_rotate" value="0x20" since="4" + summary="if this outputdevice supports autorotation"/> + <entry name="icc_profile" value="0x40" since="5" + summary="if this outputdevice supports icc profiles"/> </enum> <event name="capabilities"> @@ -273,7 +281,68 @@ </description> <arg name="name" type="string"/> </event> - + + <event name="high_dynamic_range" since="3"> + <description summary="if HDR is enabled"> + Whether or not high dynamic range is enabled for this output + </description> + <arg name="hdr_enabled" type="uint" summary="1 if enabled, 0 if disabled"/> + </event> + + <event name="sdr_brightness" since="3"> + <description summary="the brightness of sdr if hdr is enabled"> + If high dynamic range is used, this value defines the brightness in nits for content + that's in standard dynamic range format. Note that while the value is in nits, that + doesn't necessarily translate to the same brightness on the screen. + </description> + <arg name="sdr_brightness" type="uint"/> + </event> + + <event name="wide_color_gamut" since="3"> + <description summary="if WCG is enabled"> + Whether or not the use of a wide color gamut is enabled for this output + </description> + <arg name="wcg_enabled" type="uint" summary="1 if enabled, 0 if disabled"/> + </event> + + <enum name="auto_rotate_policy"> + <description summary="describes when auto rotate should be used"/> + <entry name="never" value="0"/> + <entry name="in_tablet_mode" value="1"/> + <entry name="always" value="2"/> + </enum> + + <event name="auto_rotate_policy" since="4"> + <description summary="describes when auto rotate is used"/> + <arg name="policy" type="uint" enum="auto_rotate_policy"/> + </event> + + <event name="icc_profile_path" since="5"> + <description summary="describes when auto rotate is used"/> + <arg name="profile_path" type="string"/> + </event> + + <event name="brightness_metadata" since="6"> + <description summary="metadata about the screen's brightness limits"/> + <arg name="max_peak_brightness" type="uint" summary="in nits"/> + <arg name="max_frame_average_brightness" type="uint" summary="in nits"/> + <arg name="min_brightness" type="uint" summary="in 0.0001 nits"/> + </event> + + <event name="brightness_overrides" since="6"> + <description summary="overrides for the screen's brightness limits"/> + <arg name="max_peak_brightness" type="int" summary="-1 for no override, positive values are the brightness in nits"/> + <arg name="max_average_brightness" type="int" summary="-1 for no override, positive values are the brightness in nits"/> + <arg name="min_brightness" type="int" summary="-1 for no override, positive values are the brightness in 0.0001 nits"/> + </event> + + <event name="sdr_gamut_wideness" since="6"> + <description summary="describes which gamut is assumed for sRGB applications"> + This can be used to provide the colors users assume sRGB applications should have based on the + default experience on many modern sRGB screens. + </description> + <arg name="gamut_wideness" type="uint" summary="0 means rec.709 primaries, 10000 means rec.2020 primaries"/> + </event> </interface> <interface name="kde_output_device_mode_v2" version="1"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/src/protocols/kde-output-management-v2.xml new/plasma-wayland-protocols-1.12.0/src/protocols/kde-output-management-v2.xml --- old/plasma-wayland-protocols-1.10/src/protocols/kde-output-management-v2.xml 2023-01-18 16:27:31.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/src/protocols/kde-output-management-v2.xml 2023-12-07 11:06:35.000000000 +0100 @@ -6,11 +6,12 @@ SPDX-FileCopyrightText: 2012-2013 Collabora, Ltd. SPDX-FileCopyrightText: 2015 Sebastian Kügler <se...@kde.org> SPDX-FileCopyrightText: 2021 Méven Car <meven....@enioka.com> + SPDX-FileCopyrightText: 2023 Xaver Hugl <xaver.h...@kde.org> SPDX-License-Identifier: MIT-CMU ]]></copyright> -<interface name="kde_output_management_v2" version="3"> +<interface name="kde_output_management_v2" version="7"> <description summary="configuration of server outputs through clients"> This interface enables clients to set properties of output devices for screen configuration purposes via the server. To this end output devices are referenced @@ -62,7 +63,7 @@ </interface> -<interface name="kde_output_configuration_v2" version="3"> +<interface name="kde_output_configuration_v2" version="7"> <description summary="configure single output devices"> outputconfiguration is a client-specific resource that can be used to ask the server to apply changes to available output devices. @@ -216,5 +217,66 @@ <arg name="outputdevice" type="object" interface="kde_output_device_v2" summary="outputdevice the index applies to" /> <arg name="priority" type="uint" summary="the priority of the output" /> </request> + + <request name="set_high_dynamic_range" since="4"> + <description summary="change if HDR should be enabled"> + Sets whether or not the output should be set to HDR mode. + </description> + <arg name="outputdevice" type="object" interface="kde_output_device_v2" summary="outputdevice this setting applies to"/> + <arg name="enable_hdr" type="uint" summary="1 to enable, 0 to disable hdr"/> + </request> + + <request name="set_sdr_brightness" since="4"> + <description summary="set the brightness for sdr content"> + Sets the brightness of standard dynamic range content in nits. Only has an effect while the output is in HDR mode. + Note that while the value is in nits, that doesn't necessarily translate to the same brightness on the screen. + </description> + <arg name="outputdevice" type="object" interface="kde_output_device_v2" summary="outputdevice this setting applies to"/> + <arg name="sdr_brightness" type="uint"/> + </request> + + <request name="set_wide_color_gamut" since="4"> + <description summary="change if a wide color gamut should be used"> + Whether or not the output should use a wide color gamut + </description> + <arg name="outputdevice" type="object" interface="kde_output_device_v2" summary="outputdevice this setting applies to"/> + <arg name="enable_wcg" type="uint" summary="1 to enable, 0 to disable wcg"/> + </request> + + <enum name="auto_rotate_policy"> + <description summary="describes when auto rotate should be used"/> + <entry name="never" value="0"/> + <entry name="in_tablet_mode" value="1"/> + <entry name="always" value="2"/> + </enum> + + <request name="set_auto_rotate_policy" since="5"> + <description summary="change when auto rotate should be used"/> + <arg name="outputdevice" type="object" interface="kde_output_device_v2" summary="outputdevice this setting applies to"/> + <arg name="policy" type="uint" enum="auto_rotate_policy"/> + </request> + + <request name="set_icc_profile_path" since="6"> + <description summary="change the used icc profile"/> + <arg name="outputdevice" type="object" interface="kde_output_device_v2" summary="outputdevice this setting applies to"/> + <arg name="profile_path" type="string"/> + </request> + + <request name="set_brightness_overrides" since="7"> + <description summary="override metadata about the screen's brightness limits"/> + <arg name="outputdevice" type="object" interface="kde_output_device_v2" summary="outputdevice this setting applies to"/> + <arg name="max_peak_brightness" type="int" summary="-1 for not overriding, or positive values in nits"/> + <arg name="max_frame_average_brightness" type="int" summary="-1 for not overriding, or positive values in nits"/> + <arg name="min_brightness" type="int" summary="-1 for not overriding, or positive values in 0.0001 nits"/> + </request> + + <request name="set_sdr_gamut_wideness" since="7"> + <description summary="describes which gamut is assumed for sRGB applications"> + This can be used to provide the colors users assume sRGB applications should have based on the + default experience on many modern sRGB screens. + </description> + <arg name="outputdevice" type="object" interface="kde_output_device_v2" summary="outputdevice this setting applies to"/> + <arg name="gamut_wideness" type="uint" summary="0 means rec.709 primaries, 10000 means rec.2020 primaries"/> + </request> </interface> </protocol> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/src/protocols/kde-screen-edge-v1.xml new/plasma-wayland-protocols-1.12.0/src/protocols/kde-screen-edge-v1.xml --- old/plasma-wayland-protocols-1.10/src/protocols/kde-screen-edge-v1.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/src/protocols/kde-screen-edge-v1.xml 2023-12-07 11:06:35.000000000 +0100 @@ -0,0 +1,108 @@ +<?xml version="1.0" encoding="UTF-8"?> +<protocol name="kde_screen_edge_v1"> + <copyright> + SPDX-FileCopyrightText: 2023 Vlad Zahorodnii + + SPDX-License-Identifier: MIT-CMU + </copyright> + + <interface name="kde_screen_edge_manager_v1" version="1"> + <description summary="screen edge manager"> + This interface allows clients to associate actions with screen edges. For + example, showing a surface by moving the pointer to a screen edge. + + Potential ways to trigger the screen edge are subject to compositor + policies. As an example, the compositor may consider the screen edge to be + triggered if the pointer hits its associated screen border. Other ways may + include using touchscreen or touchpad gestures. + </description> + + <enum name="error"> + <entry name="invalid_border" value="0" + summary="the specified border value is invalid"/> + <entry name="invalid_role" value="1" + summary="the surface has invalid role"/> + <entry name="already_constructed" value="2" + summary="the surface already has a screen edge"/> + </enum> + + <request name="destroy" type="destructor"> + <description summary="destroy the screen edge manager"> + Destroy the screen edge manager. This doesn't destroy objects created + with this manager. + </description> + </request> + + <enum name="border"> + <description summary="screen border"> + These values describe possible screen borders. + </description> + <entry name="top" value="1" summary="top screen edge"/> + <entry name="bottom" value="2" summary="bottom screen edge"/> + <entry name="left" value="3" summary="left screen edge"/> + <entry name="right" value="4" summary="right screen edge"/> + </enum> + + <request name="get_auto_hide_screen_edge"> + <description summary="create an auto hide edge"> + Create a new auto hide screen edge object associated with the specified + surface and the border. + + Creating a kde_auto_hide_screen_edge_v1 object does not change the + visibility of the surface. The kde_auto_hide_screen_edge_v1.activate + request must be issued in order to hide the surface. + + The "border" argument must be a valid enum entry, otherwise the + invalid_border protocol error is raised. + + The invalid_role protocol error will be raised if the specified surface + does not have layer_surface role. + </description> + <arg name="id" type="new_id" interface="kde_auto_hide_screen_edge_v1" + summary="the new screen edge"/> + <arg name="border" type="uint" enum="border" + summary="the associated screen border"/> + <arg name="surface" type="object" interface="wl_surface" + summary="the surface"/> + </request> + </interface> + + <interface name="kde_auto_hide_screen_edge_v1" version="1"> + <description summary="auto hide screen edge"> + The auto hide screen edge object allows to hide the surface and make it + visible by triggering the screen edge. The screen edge is inactive and + the surface is visible by default. + + This interface can be used to implement user interface elements such as + auto-hide panels or docks. + + kde_auto_hide_screen_edge_v1.activate activates the screen edge and makes + the surface hidden. The surface can be made visible by triggering the + screen edge or calling kde_auto_hide_screen_edge_v1.deactivate. + + If the screen edge has been triggered, it won't be re-activated again. + Another kde_auto_hide_screen_edge_v1.activate request must be made by the + client to activate the screen edge. + </description> + + <request name="destroy" type="destructor"> + <description summary="destroy the auto hide screen edge object"> + Destroy the auto hide screen edge object. If the screen edge is active, + it will be deactivated and the surface will be made visible. + </description> + </request> + + <request name="deactivate"> + <description summary="deactivate the screen edge"> + Deactivate the screen edge. The surface will be made visible. + </description> + </request> + + <request name="activate"> + <description summary="activate the screen edge"> + Activate the screen edge. The surface will be hidden until the screen + edge is triggered. + </description> + </request> + </interface> +</protocol> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/src/protocols/org-kde-plasma-virtual-desktop.xml new/plasma-wayland-protocols-1.12.0/src/protocols/org-kde-plasma-virtual-desktop.xml --- old/plasma-wayland-protocols-1.10/src/protocols/org-kde-plasma-virtual-desktop.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/src/protocols/org-kde-plasma-virtual-desktop.xml 2023-12-07 11:06:35.000000000 +0100 @@ -0,0 +1,110 @@ +<?xml version="1.0" encoding="UTF-8"?> +<protocol name="org_kde_plasma_virtual_desktop"> + <copyright><![CDATA[ + SPDX-FileCopyrightText: 2018 Marco Martin + + SPDX-License-Identifier: LGPL-2.1-or-later + ]]></copyright> + +<interface name="org_kde_plasma_virtual_desktop_management" version="2"> + <request name="get_virtual_desktop"> + <description summary="get the org_kde_plasma_virtual_desktop interface for a desktop"> + Given the id of a particular virtual desktop, get the corresponding org_kde_plasma_virtual_desktop which represents only the desktop with that id. + </description> + <arg name="id" type="new_id" interface="org_kde_plasma_virtual_desktop"/> + <arg name="desktop_id" type="string" summary="Unique id of the desktop"/> + </request> + + <request name="request_create_virtual_desktop"> + <description summary="ask for the creation of a new desktop at a specified position"> + Ask the server to create a new virtual desktop, and position it at a specified position. If the position is zero or less, it will be positioned at the beginning, if the position is the count or more, it will be positioned at the end. + </description> + <arg name="name" type="string" summary="The user readable name we want for the desktop"/> + <arg name="position" type="uint" summary="The position we want for the desktop"/> + </request> + + <request name="request_remove_virtual_desktop"> + <description summary="ask for a desktop removal identified by id"> + Ask the server to get rid of a virtual desktop, the server may or may not acconsent to the request. + </description> + <arg name="desktop_id" type="string" summary="Unique id of the desktop"/> + </request> + + <event name="desktop_created"> + <description summary="Emitted when a new desktop has been created"></description> + <arg name="desktop_id" type="string" summary="Unique id of the desktop"/> + <arg name="position" type="uint" summary="Position of this desktop, to ensure the client and the server will see desktops in the same order"/> + </event> + + <!--TODO: maybe the removed signal of the desktop object is enough?--> + <event name="desktop_removed"> + <description summary="Emitted when a desktop has been removed"></description> + <arg name="desktop_id" type="string" summary="Unique id of the desktop"/> + </event> + + <event name="done"> + <description summary="sent all information about desktops"> + This event is sent after all other properties has been + sent after binding to the desktop manager object and after any + other property changes done after that. This allows + changes to the org_kde_plasma_virtual_desktop_management properties to be seen as + atomic, even if they happen via multiple events. + </description> + </event> + + <event name="rows" since="2"> + <arg name="rows" type="uint" summary="Number of rows the virtual desktops are laid out into."/> + </event> +</interface> + + +<interface name="org_kde_plasma_virtual_desktop" version="1"> + <request name="request_activate"> + <description summary="Requests this desktop to be activated"> + Request the server to set the status of this desktop to active: The server is free to consent or deny the request. This will be the new "current" virtual desktop of the system. + </description> + </request> + + <event name="desktop_id"> + <description summary="The desktop got an id"> + The format of the id is decided by the compositor implementation. A desktop id univocally identifies a virtual desktop and must be guaranteed to never exist two desktops with the same id. The format of the string id is up to the server implementation. + </description> + <arg name="desktop_id" type="string" summary="Unique id of the desktop"/> + </event> + + <event name="name"> + <arg name="name" type="string" summary="User readable descriptive name for the desktop"/> + </event> + + <event name="activated"> + <description summary="The desktop has been activated"> + The desktop will be the new "current" desktop of the system. The server may support either one virtual desktop active at a time, or other combinations such as one virtual desktop active per screen. + Windows associated to this virtual desktop will be shown. + </description> + </event> + + <event name="deactivated"> + <description summary="This desktop is no longer active"> + Windows that were associated only to this desktop will be hidden. + </description> + </event> + + <event name="done"> + <description summary="sent all information about desktops"> + This event is sent after all other properties has been + sent after binding to the desktop object and after any + other property changes done after that. This allows + changes to the org_kde_plasma_virtual_desktop properties to be seen as + atomic, even if they happen via multiple events. + </description> + </event> + + <event name="removed"> + <description summary="This desktop has been removed"> + This virtual desktop has just been removed by the server: + All windows will lose the association to this desktop. + </description> + </event> +</interface> + +</protocol> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/src/protocols/plasma-shell.xml new/plasma-wayland-protocols-1.12.0/src/protocols/plasma-shell.xml --- old/plasma-wayland-protocols-1.10/src/protocols/plasma-shell.xml 2023-01-18 16:27:31.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/src/protocols/plasma-shell.xml 2023-12-07 11:06:35.000000000 +0100 @@ -24,99 +24,6 @@ <arg name="id" type="new_id" interface="org_kde_plasma_surface"/> <arg name="surface" type="object" interface="wl_surface"/> </request> - - <!-- Lock and unlock --> - - <!-- - <request name="lock"> - <description summary="lock the session"> - Tell the compositor to initiate the lock sequence. - - When the compositor receives this request it hides all surfaces, - disable all input for them and go in idle mode (usually it turns off - the screens or run the screen saver). - - Input events resume the compositor (it turns the screens on or - kills the screen saver), however surfaces keep being hidden. - - At this point the org_kde_plasma_shell.prepare_lock_surfaces event is emitted - and the shell decides what to do. - </description> - </request> - - <request name="unlock"> - <description summary="unlock the session"> - Tell the compositor to unlock the session. - - This resumes the compositor and restores all surfaces to - their initial state. - - The shell at this point can destroy lock surfaces to save - resources. - </description> - </request> - - <event name="prepare_lock_surfaces"> - <description summary="tell the shell to create lock surfaces"> - Tell the shell we want it to create lock surfaces and set their role. - See org_kde_plasma_shell.set_lock_role for more details. - - Whether or not the shell actually implements locking, it MUST send the - org_kde_plasma_shell.unlock request to let the normal desktop resume. - </description> - </event> - --> - - <!-- Desktop loading --> - -<!-- - <event name="loaded"> - <description summary="tell the shell to create and set its surfaces"> - Tell the shell we want it to create and set its surfaces such as - desktops and panels. - - The shell will then call org_kde_plasma_shell.desktop_ready when all - surfaces are ready. - </description> - </event> - - <request name="desktop_ready"> - <description summary="desktop is ready to be shown"> - Tell the compositor, that enough desktop elements have been drawn - to make the desktop look ready for use. - - During start-up, the compositor can wait for this request with a - black screen and fade the desktop in when this request is called. - - If the shell surfaces take a long time to initialize, we avoid - showing temporary garbage. - - See also the splash role in org_kde_plasma_surface.set_role. - </description> - </request> ---> - - <!-- Other stuff --> - -<!-- - <request name="present"> - <description summary="present all surfaces specified"> - Tell the compositor to present all the specified surfaces. - </description> - <arg name="surfaces" type="array" allow-null="true" summary="list of surfaces to present"/> - </request> ---> - - <!-- Martin will discuss the whole security concept at XDC --> - <!-- - <request name="add_trusted_client"> - <description summary="add a trusted client"> - Adds a client to the whitelist for the specified interface. - </description> - <arg name="fd" type="fd"/> - <arg name="interface" type="string"/> - </request> - --> </interface> <interface name="org_kde_plasma_surface" version="8"> @@ -181,12 +88,6 @@ <entry name="tooltip" value="5"/> <entry name="criticalnotification" value="6" since="6"/> <entry name="appletpopup" value="7" since="8"/> -<!-- - <entry name="splash" value="1"/> - <entry name="dashboard" value="3"/> - <entry name="overlay" value="5"/> - <entry name="lock" value="7"/> ---> </enum> <request name="set_role"> @@ -322,6 +223,8 @@ Set flags bitmask as described by the flag enum. Pass 0 to unset any flag, the surface will adjust its behavior to the default. + + Deprecated in Plasma 6. Setting this flag will have no effect. Applications should use layer shell where appropriate. </description> <arg name="flag" type="uint" summary="panel_behavior enum value"/> </request> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/src/protocols/plasma-virtual-desktop.xml new/plasma-wayland-protocols-1.12.0/src/protocols/plasma-virtual-desktop.xml --- old/plasma-wayland-protocols-1.10/src/protocols/plasma-virtual-desktop.xml 2023-01-18 16:27:31.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/src/protocols/plasma-virtual-desktop.xml 1970-01-01 01:00:00.000000000 +0100 @@ -1,110 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<protocol name="org_kde_plasma_virtual_desktop"> - <copyright><![CDATA[ - SPDX-FileCopyrightText: 2018 Marco Martin - - SPDX-License-Identifier: LGPL-2.1-or-later - ]]></copyright> - -<interface name="org_kde_plasma_virtual_desktop_management" version="2"> - <request name="get_virtual_desktop"> - <description summary="get the org_kde_plasma_virtual_desktop interface for a desktop"> - Given the id of a particular virtual desktop, get the corresponding org_kde_plasma_virtual_desktop which represents only the desktop with that id. - </description> - <arg name="id" type="new_id" interface="org_kde_plasma_virtual_desktop"/> - <arg name="desktop_id" type="string" summary="Unique id of the desktop"/> - </request> - - <request name="request_create_virtual_desktop"> - <description summary="ask for the creation of a new desktop at a specified position"> - Ask the server to create a new virtual desktop, and position it at a specified position. If the position is zero or less, it will be positioned at the beginning, if the position is the count or more, it will be positioned at the end. - </description> - <arg name="name" type="string" summary="The user readable name we want for the desktop"/> - <arg name="position" type="uint" summary="The position we want for the desktop"/> - </request> - - <request name="request_remove_virtual_desktop"> - <description summary="ask for a desktop removal identified by id"> - Ask the server to get rid of a virtual desktop, the server may or may not acconsent to the request. - </description> - <arg name="desktop_id" type="string" summary="Unique id of the desktop"/> - </request> - - <event name="desktop_created"> - <description summary="Emitted when a new desktop has been created"></description> - <arg name="desktop_id" type="string" summary="Unique id of the desktop"/> - <arg name="position" type="uint" summary="Position of this desktop, to ensure the client and the server will see desktops in the same order"/> - </event> - - <!--TODO: maybe the removed signal of the desktop object is enough?--> - <event name="desktop_removed"> - <description summary="Emitted when a desktop has been removed"></description> - <arg name="desktop_id" type="string" summary="Unique id of the desktop"/> - </event> - - <event name="done"> - <description summary="sent all information about desktops"> - This event is sent after all other properties has been - sent after binding to the desktop manager object and after any - other property changes done after that. This allows - changes to the org_kde_plasma_virtual_desktop_management properties to be seen as - atomic, even if they happen via multiple events. - </description> - </event> - - <event name="rows" since="2"> - <arg name="rows" type="uint" summary="Number of rows the virtual desktops are laid out into."/> - </event> -</interface> - - -<interface name="org_kde_plasma_virtual_desktop" version="1"> - <request name="request_activate"> - <description summary="Requests this desktop to be activated"> - Request the server to set the status of this desktop to active: The server is free to consent or deny the request. This will be the new "current" virtual desktop of the system. - </description> - </request> - - <event name="desktop_id"> - <description summary="The desktop got an id"> - The format of the id is decided by the compositor implementation. A desktop id univocally identifies a virtual desktop and must be guaranteed to never exist two desktops with the same id. The format of the string id is up to the server implementation. - </description> - <arg name="desktop_id" type="string" summary="Unique id of the desktop"/> - </event> - - <event name="name"> - <arg name="name" type="string" summary="User readable descriptive name for the desktop"/> - </event> - - <event name="activated"> - <description summary="The desktop has been activated"> - The desktop will be the new "current" desktop of the system. The server may support either one virtual desktop active at a time, or other combinations such as one virtual desktop active per screen. - Windows associated to this virtual desktop will be shown. - </description> - </event> - - <event name="deactivated"> - <description summary="This desktop is no longer active"> - Windows that were associated only to this desktop will be hidden. - </description> - </event> - - <event name="done"> - <description summary="sent all information about desktops"> - This event is sent after all other properties has been - sent after binding to the desktop object and after any - other property changes done after that. This allows - changes to the org_kde_plasma_virtual_desktop properties to be seen as - atomic, even if they happen via multiple events. - </description> - </event> - - <event name="removed"> - <description summary="This desktop has been removed"> - This virtual desktop has just been removed by the server: - All windows will lose the association to this desktop. - </description> - </event> -</interface> - -</protocol> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/plasma-wayland-protocols-1.10/src/protocols/plasma-window-management.xml new/plasma-wayland-protocols-1.12.0/src/protocols/plasma-window-management.xml --- old/plasma-wayland-protocols-1.10/src/protocols/plasma-window-management.xml 2023-01-18 16:27:31.000000000 +0100 +++ new/plasma-wayland-protocols-1.12.0/src/protocols/plasma-window-management.xml 2023-12-07 11:06:35.000000000 +0100 @@ -17,25 +17,25 @@ </description> <enum name="state"> - <entry name="active" value="1 << 0"/> - <entry name="minimized" value="1 << 1"/> - <entry name="maximized" value="1 << 2"/> - <entry name="fullscreen" value="1 << 3"/> - <entry name="keep_above" value="1 << 4"/> - <entry name="keep_below" value="1 << 5"/> - <entry name="on_all_desktops" value="1 << 6"/> - <entry name="demands_attention" value="1 << 7"/> - <entry name="closeable" value="1 << 8"/> - <entry name="minimizable" value="1 << 9"/> - <entry name="maximizable" value="1 << 10"/> - <entry name="fullscreenable" value="1 << 11"/> - <entry name="skiptaskbar" value="1 << 12" since="2"/> - <entry name="shadeable" value="1 << 13" since="3"/> - <entry name="shaded" value="1 << 14" since="3"/> - <entry name="movable" value="1 << 15" since="3"/> - <entry name="resizable" value="1 << 16" since="3"/> - <entry name="virtual_desktop_changeable" value="1 << 17" since="3"/> - <entry name="skipswitcher" value="1 << 18" since="9"/> + <entry name="active" value="0x1"/> + <entry name="minimized" value="0x2"/> + <entry name="maximized" value="0x4"/> + <entry name="fullscreen" value="0x8"/> + <entry name="keep_above" value="0x10"/> + <entry name="keep_below" value="0x20"/> + <entry name="on_all_desktops" value="0x40"/> + <entry name="demands_attention" value="0x80"/> + <entry name="closeable" value="0x100"/> + <entry name="minimizable" value="0x200"/> + <entry name="maximizable" value="0x400"/> + <entry name="fullscreenable" value="0x800"/> + <entry name="skiptaskbar" value="0x1000" since="2"/> + <entry name="shadeable" value="0x2000" since="3"/> + <entry name="shaded" value="0x4000" since="3"/> + <entry name="movable" value="0x8000" since="3"/> + <entry name="resizable" value="0x10000" since="3"/> + <entry name="virtual_desktop_changeable" value="0x20000" since="3"/> + <entry name="skipswitcher" value="0x40000" since="9"/> </enum> <enum name="show_desktop">