KDE slide
create(id: new_id<org_kde_kwin_slide>, surface: object<wl_surface>)
参数 | 类型 | 描述 |
|---|---|---|
| id | new_id<org_kde_kwin_slide> | |
| surface | object<wl_surface> |
将 surface 从一个位置滑动到另一个位置
请求 compositor 将 surface 从一个位置以滑动动画移动到另一个位置。
from 参数提供滑动动画起始位置的提示,offset 是从屏幕边缘开始动画的距离。
commit()
合成器支持
Cage | COSMIC | GameScope | Hyprland | Jay | KWin | Labwc | Louvre | Mir | Muffin | Mutter | niri | phoc | river | Sway | Treeland | Wayfire | Weston | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| org_kde_kwin_slide_manager | x | x | x | x | x | 1 | x | x | x | x | x | x | x | x | x | x | x | x |
Copyright
SPDX-FileCopyrightText: 2015 Martin Gräßlin SPDX-FileCopyrightText: 2015 Marco Martin
SPDX-License-Identifier: LGPL-2.1-or-later