4 #include <xcb/xproto.h> void remove_monitor(monitor_t *m)
Remove a monitor and all of its workspaces.
Definition: monitor.c:59
uint32_t monitor_to_index(const monitor_t *m)
Find and return a monitor's index in the monitor list.
Definition: monitor.c:117
monitor_t * point_to_monitor(xcb_point_t point)
Convert a point to a monitor that it is within.
Definition: monitor.c:228
monitor_t * index_to_monitor(uint32_t index)
Convert a monitor's index in a monitor list to an index.
Definition: monitor.c:135
void scan_monitors(void)
Initialise a monitor for each supported screen.
Definition: monitor.c:245
void focus_monitor(monitor_t *m)
Set a monitor as the focused monitor.
Definition: monitor.c:92