xhpgetservermode(3x) hpux man page | unix.com

Man Page: xhpgetservermode

Operating Environment: hpux

Section: 3x

XHPGetServerMode(3X)													      XHPGetServerMode(3X)

NAME
XHPGetServerMode - Get the mode of the specified screen.
SYNOPSIS
int XHPGetServerMode (display, screen) Display *display; int screen;
ARGUMENTS
display Specifies the connection to the X server. screen Specifies the number of the screen whose mode is requested.
DESCRIPTION
This request enables a client program to determine the mode of a screen. The mode returned is an integer that can be compared against one of the predefined modes. The following modes are defined: XHPOVERLAY_MODE The X server is running in the overlay planes. XHPIMAGE_MODE The X server is running in the image planes. XHPSTACKED_SCREENS_MODE The X server is running with the overlay and image planes on different screens. XHPCOMBINED_MODE The X server is running in both the overlay and image planes. These constants can be obtained by including the file /usr/include/X11/XHPproto.h. If an invalid screen number is used, a -1 will be returned by this request.
DIAGNOSTICS
The return value indicates success or failure.
RETURN VALUE
This request returns the display mode if the request is successful, and a -1 if an invalid screen id is used.
FILES
/usr/include/X11/XHPproto.h
ORIGIN
Hewlett-Packard Company X Version 11 Release 5 XHPGetServerMode(3X)
Related Man Pages
defaultgc(3x11) - ultrix
defaultscreen(3x11) - ultrix
defaultscreenofdisplay(3x11) - ultrix
xdefault(3) - hpux
xhpsetinputdevice(3x) - hpux
Similar Topics in the Unix Linux Community
Loop counter variable display
Increasing screen display size
Unable to connect to AIX server through xmanager
Use screen command in AIX to scp file to other server
Ravinder Learning