-void window_draw_border(node_t *, bool, bool);
-uint32_t get_border_color(client_t *, bool, bool);
-void update_floating_rectangle(client_t *);
-void query_pointer(xcb_window_t *, xcb_point_t *);
-void list_windows(char *);
-void window_close(node_t *);
-void window_kill(desktop_t *, node_t *);
-void toggle_fullscreen(monitor_t *, client_t *);
-void toggle_floating(node_t *);
-void toggle_locked(client_t *);
-void set_urgency(monitor_t *, desktop_t *, node_t *, bool);
-void set_shadow(xcb_window_t, uint32_t);
-void enable_shadow(xcb_window_t);
-void disable_shadow(xcb_window_t);
-void window_border_width(xcb_window_t, uint32_t);
-void window_move(xcb_window_t, int16_t, int16_t);
-void window_move_resize(xcb_window_t, int16_t, int16_t, uint16_t, uint16_t);
-void window_focus(xcb_window_t);
-void window_raise(xcb_window_t);
-void stack_tiled(desktop_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);
-void toggle_visibility(void);
-void desktop_show(desktop_t *);
-void desktop_hide(desktop_t *);
-void enable_motion_recorder(void);
-void disable_motion_recorder(void);
+uint32_t get_border_color(bool focused_node, bool focused_monitor);
+void initialize_floating_rectangle(node_t *n);
+xcb_rectangle_t get_window_rectangle(node_t *n);
+bool move_client(coordinates_t *loc, int dx, int dy);
+bool resize_client(coordinates_t *loc, resize_handle_t rh, int dx, int dy);
+void apply_size_hints(client_t *c, uint16_t *width, uint16_t *height);
+void query_pointer(xcb_window_t *win, xcb_point_t *pt);
+void window_border_width(xcb_window_t win, uint32_t bw);
+void window_move(xcb_window_t win, int16_t x, int16_t y);
+void window_resize(xcb_window_t win, uint16_t w, uint16_t h);
+void window_move_resize(xcb_window_t win, int16_t x, int16_t y, uint16_t w, uint16_t h);
+void window_center(monitor_t *m, client_t *c);
+void window_stack(xcb_window_t w1, xcb_window_t w2, uint32_t mode);
+void window_above(xcb_window_t w1, xcb_window_t w2);
+void window_below(xcb_window_t w1, xcb_window_t w2);
+void window_lower(xcb_window_t win);
+void window_set_visibility(xcb_window_t win, bool visible);
+void window_hide(xcb_window_t win);
+void window_show(xcb_window_t win);
+void update_input_focus(void);
+void set_input_focus(node_t *n);