]> git.sur5r.net Git - i3/i3/blobdiff - include/client.h
Move toggle_fullscreen to client.c
[i3/i3] / include / client.h
index a88f8d0baf797adba74441ec6557fd974eb61d7f..2547c52fb0817b185bc5453f38b696da6bd49f54 100644 (file)
@@ -44,4 +44,12 @@ void client_kill(xcb_connection_t *conn, Client *window);
 bool client_matches_class_name(Client *client, char *to_class, char *to_title,
                                char *to_title_ucs, int to_title_ucs_len);
 
+/**
+ * Toggles fullscreen mode for the given client. It updates the data structures and
+ * reconfigures (= resizes/moves) the client and its frame to the full size of the
+ * screen. When leaving fullscreen, re-rendering the layout is forced.
+ *
+ */
+void client_toggle_fullscreen(xcb_connection_t *conn, Client *client);
+
 #endif