]> git.lizzy.rs Git - bspwm.git/blob - window.h
fbcfab4361c17086357e940b352fc464c0f222af
[bspwm.git] / window.h
1 #ifndef _WINDOW_H
2 #define _WINDOW_H
3
4 #include <stdarg.h>
5 #include <xcb/xcb.h>
6 #include <xcb/xcb_event.h>
7 #include "types.h"
8
9 bool locate_window(xcb_window_t, window_location_t *);
10 bool locate_desktop(char *, desktop_location_t *);
11 void window_draw_border(node_t *, bool, bool);
12 void window_close(node_t *);
13 void window_kill(desktop_t *, node_t *);
14 void toggle_fullscreen(monitor_t *, client_t *);
15 void toggle_floating(node_t *);
16 void toggle_locked(client_t *);
17 void window_border_width(xcb_window_t, uint32_t);
18 void window_move(xcb_window_t, int16_t, int16_t);
19 void window_move_resize(xcb_window_t, int16_t, int16_t, uint16_t, uint16_t);
20 void window_raise(xcb_window_t);
21 void window_lower(xcb_window_t);
22 void window_set_visibility(xcb_window_t, bool);
23 void window_hide(xcb_window_t);
24 void window_show(xcb_window_t);
25 uint32_t get_main_border_color(client_t *, bool, bool);
26 void update_floating_rectangle(client_t *);
27 void list_windows(char *);
28
29 #endif