处理 property_notify 事件
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <xcb/xproto.h>
|
||||
|
||||
#include "types.h"
|
||||
|
||||
@@ -115,8 +114,15 @@ typedef struct focus_in_event_t {
|
||||
xcb_window_t window;
|
||||
} focus_in_event_t;
|
||||
|
||||
typedef enum property_state_t {
|
||||
property_new_value = 0,
|
||||
property_delete = 1
|
||||
} property_state_t;
|
||||
typedef struct property_notify_event_t {
|
||||
event_type_t type;
|
||||
xcb_window_t window;
|
||||
uint32_t xcb_atom;
|
||||
property_state_t state;
|
||||
} property_notify_event_t;
|
||||
|
||||
typedef struct client_message_event_t {
|
||||
|
||||
Reference in New Issue
Block a user