kiba-engine
window.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <xcb/xcb.h>
9 #include <xcb/xcb_keysyms.h>
10 
12 typedef struct linux_window_state {
14  xcb_connection_t *connection;
16  xcb_window_t window;
18  xcb_screen_t *screen;
20  xcb_atom_t wm_protocols;
22  xcb_atom_t wm_delete_win;
24  xcb_key_symbols_t *syms;
struct linux_window_state linux_window_state
xcb_window_t window
X window.
Definition: window.h:16
xcb_atom_t wm_protocols
Window manager protocol atom.
Definition: window.h:20
xcb_key_symbols_t * syms
Pointer to xcb keysyms.
Definition: window.h:24
xcb_connection_t * connection
Connection to X server.
Definition: window.h:14
xcb_screen_t * screen
X screen.
Definition: window.h:18
xcb_atom_t wm_delete_win
Window manager delete atom.
Definition: window.h:22