xglcomp
view src/cwin.h @ 0:d9b3fba68705
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 21 Jan 2016 08:45:31 +0200 |
parents | |
children | b2b7cb950c28 |
line source
1 #ifndef COMP_WIN_H_
2 #define COMP_WIN_H_
4 #include <X11/Xlib.h>
6 struct CompWindow {
7 Window xwin;
8 Pixmap xpixmap;
10 struct CompWindow *next, *prev;
11 };
13 void add_window(CompWindow *cwin);
14 void delete_window(CompWindow *cwin);
15 bool have_window(CompWindow *cwin);
16 CompWindow *find_window_xid(Window xid);
18 int get_window_count();
19 CompWindow *get_window(int idx);
21 #endif // COMP_WIN_H_