Commit f6f20dd
feat: add attention state support for treeland task manager
1. Bump treeland-protocols dependency to version > 0.5.7 to ensure
protocol compatibility
2. Use local protocol XML file instead of system-installed one for
easier development and stability
3. Add Attention state handling to TreeLandWindow, enabling taskbar to
reflect window attention state
4. Update wayland extension versions to v2 for both
ForeignToplevelHandle and ForeignToplevelManager to utilize new protocol
features
5. Implement isAttention() method to check attention state from foreign
toplevel handle
Log: Taskbar now supports treeland window attention state display
Influence:
1. Test taskbar window entries show attention state (e.g., flashing/
urgent) when window requests attention
2. Verify normal window behavior without attention state remains
unchanged
3. Test with treeland compositor version >= 0.5.7 to ensure protocol
compatibility
4. Verify backward compatibility with older treeland versions (if
applicable)
5. Test attention state reset when window gains focus or user interacts
with taskbar entry
feat: 为treeland任务管理器添加注意力状态支持
1. 将treeland-protocols依赖提升至>=0.5.7版本以确保协议兼容性
2. 使用本地协议XML文件替代系统安装的协议文件,便于开发和保持稳定性
3. 为TreeLandWindow添加注意力状态处理,使任务栏能够反映窗口的注意力请求
4. 将ForeignToplevelHandle和ForeignToplevelManager的wayland扩展版本更新
至v2,以利用新协议特性
5. 实现isAttention()方法,从foreign toplevel handle中检查注意力状态
Log: 任务栏现在支持treeland窗口注意力状态显示
Influence:
1. 测试任务栏窗口条目在窗口请求注意力时显示注意力状态(如闪烁/紧急状态)
2. 验证无注意力状态的窗口行为保持不变
3. 使用treeland合成器版本>=0.5.7测试,确保协议兼容性
4. 验证与旧版本treeland的向后兼容性(如适用)
5. 测试窗口获得焦点或用户与任务栏条目交互时注意力状态重置1 parent 2ea0136 commit f6f20dd
4 files changed
Lines changed: 7 additions & 6 deletions
File tree
- debian
- panels/dock/taskmanager
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments