From: Michael Stapelberg Date: Fri, 26 Aug 2011 01:23:57 +0000 (+0200) Subject: Fix prototype of con_inside_focused X-Git-Tag: 4.0.2~17^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7bf465af9f042043f636e306d96d7f52a9916cd4;p=i3%2Fi3 Fix prototype of con_inside_focused --- 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)