home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
evbl0627.zip
/
everblue_20010627.zip
/
x11
/
Xlib_SetClipMask.c
< prev
next >
Wrap
C/C++ Source or Header
|
2001-05-21
|
422b
|
20 lines
#include "Xlib_private.h"
XSetClipMask (dpy, gc, mask)
register Display *dpy;
GC gc;
Pixmap mask;
{
DBUG_ENTER("XSetClipMask");
LockDisplay(dpy);
/* always update, since client may have changed pixmap contents */
gc->values.clip_mask = mask;
gc->dirty |= GCClipMask;
gc->rects = 0;
_XFlushGCCache(dpy, gc);
UnlockDisplay(dpy);
SyncHandle();
DBUG_RETURN(True);
}