Lines Matching defs:key_event
1485 XKeyEvent key_event;
1486 key_event.type = XKeyEventType(type);
1487 CHECK_NE(0, key_event.type);
1488 key_event.serial = 0;
1489 key_event.send_event = 0;
1490 key_event.display = display;
1491 key_event.time = 0;
1492 key_event.window = 0;
1493 key_event.root = 0;
1494 key_event.subwindow = 0;
1495 key_event.x = 0;
1496 key_event.y = 0;
1497 key_event.x_root = 0;
1498 key_event.y_root = 0;
1499 key_event.state = XKeyEventState(flags);
1500 key_event.keycode = XKeyEventKeyCode(key_code, flags, display);
1501 key_event.same_screen = 1;
1502 event->type = key_event.type;
1503 event->xkey = key_event;