things/img/scrall/windowtree.h

19 lines
332 B
C
Raw Normal View History

#ifndef _WINDOWTREE_H_
#define _WINDOWTREE_H_
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <xcb/xcb.h>
#include <xcb/xproto.h>
struct window_info {
xcb_window_t wid;
xcb_rectangle_t rect;
char title[1024];
};
struct window_info *get_windows_list(xcb_connection_t *conn, size_t *n_windows);
#endif