显示窗口
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "types.h"
|
||||
|
||||
typedef enum event_type_t {
|
||||
EVENT_TYPE_MAPPING_NOTIFY,
|
||||
EVENT_TYPE_KEY_PRESS,
|
||||
@@ -35,6 +37,13 @@ typedef struct button_press_event_t {
|
||||
|
||||
typedef struct configure_request_event_t {
|
||||
event_type_t type;
|
||||
xcb_window_t window;
|
||||
xcb_window_t parent;
|
||||
xcb_window_t sibling;
|
||||
int32_t x, y;
|
||||
uint32_t width, height, border_width;
|
||||
uint32_t value_mask;
|
||||
uint8_t stack_mode;
|
||||
} configure_request_event_t;
|
||||
|
||||
typedef struct configure_notify_event_t {
|
||||
@@ -43,6 +52,8 @@ typedef struct configure_notify_event_t {
|
||||
|
||||
typedef struct map_request_event_t {
|
||||
event_type_t type;
|
||||
xcb_window_t window;
|
||||
xcb_window_t parent;
|
||||
} map_request_event_t;
|
||||
|
||||
typedef struct unmap_notify_event_t {
|
||||
|
||||
Reference in New Issue
Block a user