]> git.sur5r.net Git - i3/i3/blobdiff - include/client.h
Implement selecting the next tiling/floating window (using "focus")
[i3/i3] / include / client.h
index 068a364a518a278bab507fb0451aa6abd4863b1b..964dd2ea79983c1a51542ba43fa920d10eb8392c 100644 (file)
@@ -60,4 +60,12 @@ void client_toggle_fullscreen(xcb_connection_t *conn, Client *client);
  */
 void client_set_below_floating(xcb_connection_t *conn, Client *client);
 
+/**
+ * Returns true if the client is floating. Makes the code more beatiful, as floating
+ * is not simply a boolean, but also saves whether the user selected the current state
+ * or whether it was automatically set.
+ *
+ */
+bool client_is_floating(Client *client);
+
 #endif