00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #include <xcb/xcb.h>
00012
00013 #include "data.h"
00014
00015 #ifndef _MANAGE_H
00016 #define _MANAGE_H
00017
00023 void manage_existing_windows(xcb_connection_t *conn, xcb_property_handlers_t
00024 *prophs, xcb_window_t root);
00025
00034 void restore_geometry(xcb_connection_t *conn);
00035
00040 void manage_window(xcb_property_handlers_t *prophs, xcb_connection_t *conn,
00041 xcb_window_t window,
00042 xcb_get_window_attributes_cookie_t cookie,
00043 bool needs_to_be_mapped);
00044
00053 void reparent_window(xcb_connection_t *conn, xcb_window_t child,
00054 xcb_visualid_t visual, xcb_window_t root, uint8_t depth,
00055 int16_t x, int16_t y, uint16_t width, uint16_t height,
00056 uint32_t border_width);
00057
00058 #endif