Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XHPGetServe(3X) — HP-UX ANSI C A.10.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XHPGetServerMode(3X)  —  X Version 11

Release 5

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

Hewlett-Packard Company  —  HP-UX 9.0 August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026