Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DtWsmGetCurrentWorkspace(library call)	DtWsmGetCurrentWorkspace(library call)

NAME
       DtWsmGetCurrentWorkspace	-- get the current workspace

SYNOPSIS
       #include	<Dt/Wsm.h>
       int DtWsmGetCurrentWorkspace(
       Display *display,
       Window root,
       Atom *paWorkspace);

DESCRIPTION
       The  DtWsmGetCurrentWorkspace  function	works  with the	XCDE workspace
       manager,	dtwm(1), and returns the name of the current  workspace	 (con-
       verted to an X atom).

       The display argument is the X display.

       The root	argument is the	root window of the screen of interest.

       The  paWorkspace	argument is the	address	of an atom to receive the cur-
       rent workspace identifier.

RETURN VALUE
       Upon successful completion, the DtWsmGetCurrentWorkspace	 function  re-
       turns  Success  and  the	 atom identifying the current workspace	is re-
       turned in paWorkspace; otherwise, it returns a value not	equal to  Suc-
       cess.

APPLICATION USAGE
       If  the	DtWsmGetCurrentWorkspace  function is not successful, the most
       likely reason for failure is that the XCDE workspace manager,  dtwm(1),
       is not running.

SEE ALSO
       dtwm(1),	Dt/Wsm.h - DtWsm(5).

					DtWsmGetCurrentWorkspace(library call)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | APPLICATION USAGE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DtWsmGetCurrentWorkspace&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help