mirror of
https://github.com/vale981/bspwm
synced 2025-03-05 18:01:37 -05:00
20 lines
572 B
C
20 lines
572 B
C
#ifndef _UTILS_H
|
|
#define _UTILS_H
|
|
|
|
#include <stdarg.h>
|
|
#include <xcb/xcb.h>
|
|
#include <xcb/xcb_event.h>
|
|
#include "types.h"
|
|
|
|
void die(const char *, ...);
|
|
xcb_screen_t *screen_of_display(xcb_connection_t *, int);
|
|
uint32_t color_pixel(char *);
|
|
uint32_t get_color(char *);
|
|
bool locate_window(xcb_window_t, window_location_t *);
|
|
void draw_triple_border(node_t *, uint32_t);
|
|
void toggle_fullscreen(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);
|
|
|
|
#endif
|