Method

GdkX11X11Screenget_current_desktop

since: 3.10

Declaration [src]

guint32
gdk_x11_screen_get_current_desktop (
  GdkScreen* screen
)

Description [src]

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

Available since: 3.10

Return value

Type: guint32

The current workspace, or 0 if workspaces are not supported.