feat: add session-control and multitaskview protocols - #102
Open
wineee wants to merge 1 commit into
Open
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wineee The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Reviewer's GuideAdds new singleton session-control and multitaskview protocols with explicit action/state semantics, registers them for installation, and deprecates the corresponding non-functional dde-shell interfaces with migration guidance and future-removal notes. Sequence diagram for direct binding to the new control protocolssequenceDiagram
participant Client as Privileged DDE Client
participant Compositor
Client->>Compositor: bind treeland_session_control_v1
Client->>Compositor: lock()
Client->>Compositor: show_shutdown_menu()
Client->>Compositor: switch_user()
Client->>Compositor: bind treeland_multitaskview_v1
Compositor-->>Client: state(current_state)
Client->>Compositor: set_state(state)
Compositor-->>Client: state(new_state)
Compositor-->>Client: state(external_change)
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
TAG Bot New tag: 0.6.0 |
wineee
force-pushed
the
split-dde-shell
branch
from
September 11, 2026 03:49
b6ce3c9 to
97a08e4
Compare
1. Add treeland-session-control-unstable-v1: lock/show_shutdown_menu/switch_user 2. Add treeland-multitaskview-unstable-v1: set_state + state event, bind sync 3. Mark dde-shell lockscreen/multitaskview interfaces deprecated non-functional 4. Register both protocols in CMakeLists and update dde/public READMEs 5. Note whole dde-shell protocol slated for removal in a future release Log: New session-control and multitaskview protocols; dde-shell interfaces deprecated Influence: 1. Install the package and verify both new XML files land in the treeland-protocols data dir 2. Run wayland-scanner client-header and private-code on both new XML files to confirm parsing 3. Check all four READMEs list the new protocols and the dde-shell deprecation notes 4. Reconfigure cmake and confirm the build succeeds with the updated DDE file list feat: 新增 session-control 与 multitaskview 协议 1. 新增 session-control 协议:单例全局,含 lock、show_shutdown_menu、switch_user 2. 新增 multitaskview 协议:set_state 请求、state 事件、bind 时状态同步 3. dde-shell 的 lockscreen/multitaskview 接口标注废弃不可用 4. CMakeLists 注册新协议,同步更新 dde/public 中英文 README 5. README 注明整个 dde-shell 协议未来将彻底移除 Log: 新增会话控制与多任务视图协议;dde-shell 相关接口标记废弃 Influence: 1. 安装后确认两个新 XML 安装到 treeland-protocols 数据目录 2. 对两个新 XML 运行 wayland-scanner 校验,确认可正常解析生成 3. 检查四个 README 均列出新增协议及 dde-shell 废弃说明 4. 重新运行 cmake 配置,确认构建通过
wineee
force-pushed
the
split-dde-shell
branch
from
September 11, 2026 05:03
97a08e4 to
0b6d8c6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Log: New session-control and multitaskview protocols; dde-shell interfaces deprecated
Influence:
feat: 新增 session-control 与 multitaskview 协议
Log: 新增会话控制与多任务视图协议;dde-shell 相关接口标记废弃
Influence:
Summary by Sourcery
Introduce dedicated session-control and multitaskview protocols while deprecating the corresponding non-functional DDE shell interfaces.
New Features:
Enhancements:
Build:
Documentation: