bspwm/window.h

33 lines
1.1 KiB
C
Raw Normal View History

2012-09-18 17:21:04 +02:00
#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 *);
2012-10-17 16:18:40 +02:00
bool locate_desktop(char *, desktop_location_t *);
void manage_window(monitor_t *, desktop_t *, xcb_window_t);
void adopt_orphans(void);
2012-10-17 16:18:40 +02:00
void window_draw_border(node_t *, bool, bool);
2012-09-28 15:59:29 +02:00
void window_close(node_t *);
void window_kill(desktop_t *, node_t *);
2012-10-18 11:09:17 +02:00
void toggle_fullscreen(monitor_t *, client_t *);
void toggle_floating(node_t *);
void toggle_locked(client_t *);
2012-09-18 17:21:04 +02:00
void window_border_width(xcb_window_t, uint32_t);
void window_move(xcb_window_t, int16_t, int16_t);
2012-09-18 17:21:04 +02:00
void window_move_resize(xcb_window_t, int16_t, int16_t, uint16_t, uint16_t);
void window_raise(xcb_window_t);
2012-11-04 14:35:17 +01:00
void window_pseudo_raise(desktop_t *, xcb_window_t);
void window_lower(xcb_window_t);
void window_set_visibility(xcb_window_t, bool);
void window_hide(xcb_window_t);
void window_show(xcb_window_t);
2012-10-17 16:18:40 +02:00
uint32_t get_main_border_color(client_t *, bool, bool);
void update_floating_rectangle(client_t *);
void list_windows(char *);
2012-09-18 17:21:04 +02:00
#endif