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

Mutter
Mutter
46
KWin
KWin
6.0
Sway
Sway
1.9
Hyprland
Hyprland
0.35
Weston
Weston
13
Mir
Mir
2.17
GameScope
GameScope
3.14.3
org_kde_kwin_slide_manager
x
1
x
x
x
x
x

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

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