HPlogo HP Xlib Extensions: > Chapter 4 Locking an X Display

Disabling the Reset Key Sequence

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

The X server may be terminated by pressing a particular set of keys. By default, that set is left Shift, CTRL, and Reset.

To disable the reset key sequence, use XHPDisableReset.

XHPDisableReset(display)
Display display;

Title not available (Disabling the Reset Key Sequence )

display

specifies the display.

This function is intended for use by client programs such as xsecure that provide security to systems running the X Window System. If a client program disables the reset sequence and exits without reenabling it, the reset sequence is automatically enabled by the server.

XHPDisableReset will fail with a BadAccess error if another client has already disabled the reset key sequence.

© 1995 Hewlett-Packard Development Company, L.P.