Skip to content

fix(inputdevices): set Treeland layout via Wayland - #1330

Merged
mhduiy merged 1 commit into
linuxdeepin:develop/2500u3from
mhduiy:pms-bug-377251-develop
Dec 2, 2026
Merged

mhduiy merged 1 commit into
linuxdeepin:develop/2500u3from
mhduiy:pms-bug-377251-develop

Conversation

@mhduiy

@mhduiy mhduiy commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Apply XKB layout and variant through the Treeland input manager protocol instead of writing Treeland seat DConfig. Preserve the keyboard D-Bus interface and the X11 path.

Build dependency: linuxdeepin/dde-api#211 provides the Wayland Go sources in dde-api-dev 6.2.2 for develop/2500u3. The checked-in bindings do not require the protocol XML during the Debian build.

Validation: Debian dependency check, session daemon build, inputdevices1 and inputmanager tests against the extracted u3 development package, and REUSE lint passed.

PMS: BUG-377251

1. Apply XKB layout and variant through the Treeland input manager protocol.
2. Preserve the X11 path and existing keyboard D-Bus interface.
3. Ship generated bindings and require dde-api-dev 6.2.2 for Debian builds.
4. Test accepted and rejected layout requests over a Unix socket.

Log: Apply keyboard layouts through the Treeland Wayland protocol.
Influence: Layout switching works in Treeland.

fix(inputdevices): 通过 Wayland 设置 Treeland 键盘布局

1. 通过 Treeland 输入管理协议应用 XKB 布局和变体。
2. 保留 X11 路径和现有键盘 D-Bus 接口。
3. 提交生成的绑定,Debian 构建要求 dde-api-dev 6.2.2。
4. 通过 Unix socket 测试布局请求成功和被拒绝的情况。

Log: 通过 Treeland Wayland 协议应用键盘布局。
PMS: BUG-377251
Influence: Treeland 会话可切换键盘布局。
@sourcery-ai

sourcery-ai Bot commented Dec 2, 2026

Copy link
Copy Markdown

Sorry @mhduiy, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 1 day and 5 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: fly602, mhduiy

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mhduiy
mhduiy merged commit e8b4a62 into linuxdeepin:develop/2500u3 Dec 2, 2026
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants