]> git.sur5r.net Git - i3/i3/blobdiff - include/client.h
Implement configuration setting to change the default border of windows
[i3/i3] / include / client.h
index 88335f6269624ac21ee9b8af40755253d2212f1f..9da3a5ecbd2b4f9ec24d38d1dbb25190c4cb0961 100644 (file)
@@ -85,6 +85,14 @@ bool client_is_floating(Client *client);
  */
 void client_change_border(xcb_connection_t *conn, Client *client, char border_type);
 
+/**
+ * Change the border type for the given client to normal (n), 1px border (p) or
+ * completely borderless (b) without actually re-rendering the layout. Useful
+ * for calling it when initializing a new client.
+ *
+ */
+bool client_init_border(xcb_connection_t *conn, Client *client, char border_type);
+
 /**
  * Unmap the client, correctly setting any state which is needed.
  *