*/
int get_unoccupied_x(Workspace *workspace);
+/** See get_unoccupied_x */
+int get_unoccupied_y(Workspace *workspace);
+
/**
* (Re-)draws window decorations for a given Client onto the given
* drawable/graphic context. When in stacking mode, the window decorations
*
*/
void decorate_window(xcb_connection_t *conn, Client *client,
- xcb_drawable_t drawable, xcb_gcontext_t gc, int offset);
+ xcb_drawable_t drawable, xcb_gcontext_t gc,
+ int offset_x, int offset_y);
/**
* Redecorates the given client correctly by checking if it’s in a stacking
* Renders the given workspace on the given screen
*
*/
-void render_workspace(xcb_connection_t *conn, i3Screen *screen, Workspace *r_ws);
+void render_workspace(xcb_connection_t *conn, Output *output, Workspace *r_ws);
/**
* Renders the whole layout, that is: Go through each screen, each workspace,