Unified · Split
| @@ -29,6 +29,7 @@ typedef struct Cursor Cursor; · 28 unmodified lines | |||
| 29 | #include <X11/IntrinsicP.h> | 29 | #include <X11/IntrinsicP.h> |
| 30 | #include <X11/StringDefs.h> | 30 | #include <X11/StringDefs.h> |
| 31 | #include <X11/keysym.h> | 31 | #include <X11/keysym.h> |
| 32 | #include <X11/XKBlib.h> | ||
| 32 | #include "keysym2ucs.h" | 33 | #include "keysym2ucs.h" |
| 33 | 34 | ||
| 34 | #undef Font | 35 | #undef Font |
| @@ -495,6 +496,8 @@ xinitscreen(void) · 460 unmodified lines | |||
| 495 | iprint("drawterm: open %r, DISPLAY is %s\n", disp_val); | 496 | iprint("drawterm: open %r, DISPLAY is %s\n", disp_val); |
| 496 | exit(0); | 497 | exit(0); |
| 497 | } | 498 | } |
| 499 | XkbSetDetectableAutoRepeat(xkmcon, True, NULL); | ||
| 500 | |||
| 498 | xsnarfcon = XOpenDisplay(NULL); | 501 | xsnarfcon = XOpenDisplay(NULL); |
| 499 | if(xsnarfcon == 0){ | 502 | if(xsnarfcon == 0){ |
| 500 | disp_val = getenv("DISPLAY"); | 503 | disp_val = getenv("DISPLAY"); |