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

1.1       root        1: #include "copyright.h"
                      2: 
                      3: /* $Header: XAutoRep.c,v 11.7 87/09/11 08:01:02 toddb Exp $ */
                      4: /* Copyright    Massachusetts Institute of Technology    1985  */
                      5: 
                      6: #include "Xlibint.h"
                      7: XAutoRepeatOn (dpy)
                      8: register Display *dpy;
                      9: {
                     10:        XKeyboardControl values;
                     11:        values.auto_repeat_mode = AutoRepeatModeOn;
                     12:        XChangeKeyboardControl (dpy, KBAutoRepeatMode, &values);
                     13: }
                     14: 
                     15: XAutoRepeatOff (dpy)
                     16: register Display *dpy;
                     17: {
                     18:        XKeyboardControl values;
                     19:        values.auto_repeat_mode = AutoRepeatModeOff;
                     20:        XChangeKeyboardControl (dpy, KBAutoRepeatMode, &values);
                     21: }
                     22: 
                     23: 

unix.superglobalmegacorp.com

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