COSMIC image capture source
此协议扩展了 ext-image-capture-source-v1,添加了额外的捕获源。
用于为 wl_output 对象创建图像源对象的管理器。
create_source(source: new_id<ext_image_capture_source_v1>, output: object<ext_workspace_handle_v1>)
参数 | 类型 | 描述 |
|---|---|---|
| source | new_id<ext_image_capture_source_v1> | |
| output | object<ext_workspace_handle_v1> |
为工作区创建源对象。从此源捕获的图像将显示与工作区相同的内容。某些元素可能会被省略,例如已标记为对捕获透明的光标和覆盖层。
destroy()
销毁管理器。客户端可以随时发送此请求,由管理器创建的对象在其销毁后仍然有效。
合成器支持
Cage | COSMIC | GameScope | Hyprland | Jay | KWin | Labwc | Louvre | Mir | Muffin | Mutter | niri | phoc | river | Sway | Treeland | Wayfire | Weston | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| zcosmic_workspace_image_capture_source_manager_v1 | x | 1 | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x |
Copyright
Copyright © 2025 System76
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.