Annotation of researchv9/X11/src/X.V11R1/lib/X/XUngrabBut.c, revision 1.1.1.1

1.1       root        1: #include "copyright.h"
                      2: 
                      3: /* $Header: XUngrabBut.c,v 11.5 87/09/11 08:07:55 toddb Exp $ */
                      4: /* Copyright    Massachusetts Institute of Technology    1986  */
                      5: 
                      6: #include "Xlibint.h"
                      7: 
                      8: XUngrabButton(dpy, button, modifiers, grab_window)
                      9: register Display *dpy;
                     10: unsigned int button; /* CARD8 */
                     11: unsigned int modifiers; /* CARD16 */
                     12: Window grab_window;
                     13: {
                     14:     register xUngrabButtonReq *req;
                     15: 
                     16:     LockDisplay(dpy);
                     17:     GetReq(UngrabButton, req);
                     18:     req->button = button;
                     19:     req->modifiers = modifiers;
                     20:     req->grabWindow = grab_window;
                     21:     UnlockDisplay(dpy);
                     22:     SyncHandle();
                     23: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.