|
|
| |
struct timeval keypress; | struct timeval keypress; |
| |
KeyCode ignore_keys[3]; |
KeyCode ignore_keys[2]; |
| |
pthread_t *tips_thread; | pthread_t *tips_thread; |
unsigned long tips_timeout; | unsigned long tips_timeout; |
|
|
xitk_x_error = 0; | xitk_x_error = 0; |
gXitk->x_error_handler = NULL; | gXitk->x_error_handler = NULL; |
gXitk->modalw = None; | gXitk->modalw = None; |
gXitk->ignore_keys[0] = XKeysymToKeycode(display, XK_Scroll_Lock); |
gXitk->ignore_keys[0] = XKeysymToKeycode(display, XK_Shift_L); |
gXitk->ignore_keys[1] = XKeysymToKeycode(display, XK_Num_Lock); |
gXitk->ignore_keys[1] = XKeysymToKeycode(display, XK_Control_L); |
gXitk->ignore_keys[2] = XKeysymToKeycode(display, XK_Caps_Lock); |
|
gXitk->tips_timeout = TIPS_TIMEOUT; | gXitk->tips_timeout = TIPS_TIMEOUT; |
XGetInputFocus(display, &(gXitk->parent.window), &(gXitk->parent.focus)); | XGetInputFocus(display, &(gXitk->parent.window), &(gXitk->parent.focus)); |
| |