diff --git a/include/con.h b/include/con.h index 93497404..e029fd54 100644 --- a/include/con.h +++ b/include/con.h @@ -72,7 +72,7 @@ Con *con_inside_floating(Con *con); * Checks if the given container is inside a focused container. * */ -Con *con_inside_focused(Con *con); +bool con_inside_focused(Con *con); /** * Returns the container with the given client window ID or NULL if no such diff --git a/src/con.c b/src/con.c index 9cef302f..cd7c2ce0 100644 --- a/src/con.c +++ b/src/con.c @@ -362,7 +362,7 @@ Con *con_inside_floating(Con *con) { * Checks if the given container is inside a focused container. * */ -Con *con_inside_focused(Con *con) { +bool con_inside_focused(Con *con) { if (con == focused) return true; if (!con->parent)