]> git.lizzy.rs Git - bspwm.git/blob - window.h
Remove window borders whenever possible
[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 void window_draw_border(node_t *, bool);
11 void window_close(node_t *);
12 void window_kill(desktop_t *, node_t *);
13 void toggle_fullscreen(client_t *);
14 void toggle_floating(node_t *);
15 void toggle_locked(client_t *);
16 void window_border_width(xcb_window_t, uint32_t);
17 void window_move(xcb_window_t, int16_t, int16_t);
18 void window_move_resize(xcb_window_t, int16_t, int16_t, uint16_t, uint16_t);
19 void window_raise(xcb_window_t);
20 void window_lower(xcb_window_t);
21 void window_set_visibility(xcb_window_t, bool);
22 void window_hide(xcb_window_t);
23 void window_show(xcb_window_t);
24 uint32_t get_main_border_color(client_t *, bool);
25 void update_floating_rectangle(client_t *);
26 void list_windows(char *);
27
28 #endif