Skip to content

List windows

GET
/api/display/windows

List all open windows on the desktop.

Windows listed.

object
items
required
Array<object>
object
id

X11 window ID.

string
Example
0x04000007
desktop

Desktop number.

integer
pid

Process ID of the window owner.

integer
x

Window X position.

integer
y

Window Y position.

integer
width

Window width.

integer
height

Window height.

integer
class

Window class.

string
Example
Xfce4-terminal.Xfce4-terminal
host

Window host.

string
Example
sandbox
title

Window title.

string
Example
Terminal
focused

Whether the window is focused.

boolean