Commit e26a8a1
fix: correct nonexistent enum reference in protocol
The enum reference for the "flags" argument in the event was incorrectly
set to "treeland_capture_once_context_v1.flags", which does not exist.
It has been corrected to "treeland_capture_frame_v1.flags" to match the
actual enum definition. This fix ensures proper protocol validation and
prevents runtime errors due to missing enum references.
事件中 "flags" 参数的枚举引用原本错误地设置为
"treeland_capture_once_context_v1.flags",该枚举并不存在。现已更正为实际
存在的 "treeland_capture_frame_v1.flags"。此修复可确保协议验证正确,避免
因缺失枚举引用导致的运行时错误。1 parent 8c66c7b commit e26a8a1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
0 commit comments