4 extern struct window_table
{
9 struct gwm_window
**values
; /* compact array containing the values, to
10 make iteration more efficient */
11 int n
; /* number of entries in each half table */
12 int used
; /* number of entries occupied */
13 int max
; /* maximum chain length to follow during insertion */
15 } windows
, update_windows
;
17 extern void table_init( struct window_table
*table
);
18 extern void table_destroy( struct window_table
*table
);
19 extern PURE
struct gwm_window
*table_lookup( struct window_table
*table
,
21 extern void queue_window_update( struct gwm_window
*window
,
22 int x
, int y
, int width
, int height
,
24 extern void window_update_done( struct gwm_window
*window
);
25 extern MALLOC
struct gwm_window
*add_window( xcb_window_t w
);
26 extern void forget_window( struct gwm_window
*window
);
27 extern struct gwm_window
*lookup_window( xcb_window_t w
);