]> git.sur5r.net Git - i3/i3/blobdiff - include/layout.h
Fix unaligned memory access on sparc (Thanks David Coppa)
[i3/i3] / include / layout.h
index fdaacd72fbaf1c44e7efbdb1ebd1f6e16168af61..1cbb783721f91f1bb26e97257c2595b770ec34ce 100644 (file)
@@ -22,6 +22,9 @@
  */
 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
@@ -29,7 +32,8 @@ int get_unoccupied_x(Workspace *workspace);
  *
  */
 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
@@ -75,7 +79,7 @@ void ignore_enter_notify_forall(xcb_connection_t *conn, Workspace *workspace,
  * 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,