projects
/
dana
/
dcompmgr.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
windows are added and created on create/destroy/reparent
[dana/dcompmgr.git]
/
window.h
1
#ifndef dc__window_h
2
#define dc__window_h
3
4
#include <xcb/xcb.h>
5
6
struct d_screen;
7
8
typedef struct d_window {
9
xcb_window_t id;
10
int ref;
11
struct d_screen *sc;
12
13
void (*show)(struct d_window *w);
14
void (*hide)(struct d_window *w);
15
} d_window_t;
16
17
d_window_t* window_new(xcb_window_t id, struct d_screen *sc);
18
19
void window_ref(d_window_t *w);
20
void window_unref(d_window_t *w);
21
22
23
#endif