X11.screenGetCurrentDesktop

Returns the current workspace for screen when running under a window manager that supports multiple workspaces, as described in the Extended Window Manager Hints.

class X11
static
uint
screenGetCurrentDesktop

Parameters

screen Screen

a GdkScreen

Return Value

Type: uint

the current workspace, or 0 if workspaces are not supported Since 3.10

Meta