WMREPAINT(3W)
NAME
wmrepaint − repaint the desk top
SYNOPSIS
int wmrepaint(wmfd);
int wmfd;
DESCRIPTION
wmfd
is an integer file descriptor for an opened window manager device interface.
DISCUSSION
This routine sends a repaint event to all window units, then totally repaints the desk top. This library call exists in order to repair damage caused to the display, should such damage occur. For example, if the following is executed to a device with several windows displayed,
echo "lsakdjflaksdj" > /dev/console
the display may not act as expected−i.e., it is damaged.
Graphics windows may or may not be repaired by this library call. It depends upon if the application program using the windows has the ability to repaint upon receiving a repaint event (see weventpoll).
SEE ALSO
DIAGNOSTICS
A return of -1 indicates failure; otherwise 0 is returned. See errno(2) for more information.
Hewlett-Packard Company — HP-UX Release 8.0: January 1991