slide a surface from a location to another

Ask the compositor to move the surface from a location to another with a slide animation.

The from argument provides a clue about where the slide animation begins, offset is the distance from screen edge to begin the animation.

set_location(location: uint)
Argument
Type
Description
locationuint
set_offset(offset: int)
Argument
Type
Description
offsetint
release()
release the slide object
location { left, top, right, bottom } 
Argument
Value
Description
left0
top1
right2
bottom3

Compositor Support

Cage
Cage
0.2.0
COSMIC
COSMIC
1.0.0~beta.8
GameScope
GameScope
3.15.14
Hyprland
Hyprland
0.52.1
Jay
1.11.0
KWin
KWin
6.4
Labwc
Labwc
0.9.2
Louvre
Louvre
2.14.1
Mir
Mir
2.19
Muffin
Muffin
6.4.1
Mutter
Mutter
49.2
niri
niri
25.11
river
river
0.3.13
Sway
Sway
1.11
Treeland
Treeland
0.8.0
Wayfire
Wayfire
0.9.0
Weston
Weston
14.0.2
org_kde_kwin_slide_manager
x
x
x
x
x
1
x
x
x
x
x
x
x
x
x
x
x

SPDX-FileCopyrightText: 2015 Martin Gräßlin SPDX-FileCopyrightText: 2015 Marco Martin

SPDX-License-Identifier: LGPL-2.1-or-later