bspwm/window.h
2012-09-20 23:32:32 +02:00

22 lines
645 B
C

#ifndef _WINDOW_H
#define _WINDOW_H
#include <stdarg.h>
#include <xcb/xcb.h>
#include <xcb/xcb_event.h>
#include "types.h"
bool locate_window(xcb_window_t, window_location_t *);
void window_draw_border(node_t *, uint32_t);
void close_window(desktop_t *, node_t *);
void toggle_fullscreen(client_t *);
void toggle_floating(node_t *);
void toggle_locked(client_t *);
void window_border_width(xcb_window_t, uint32_t);
void window_move_resize(xcb_window_t, int16_t, int16_t, uint16_t, uint16_t);
void window_raise(xcb_window_t);
void window_lower(xcb_window_t);
uint32_t get_main_border_color(client_t *, bool);
void list_windows(char *);
#endif