Fix prototype of con_inside_focused

This commit is contained in:
Michael Stapelberg 2011-08-26 03:23:57 +02:00
parent 0b7e6d44b3
commit 7bf465af9f
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ Con *con_inside_floating(Con *con);
* Checks if the given container is inside a focused container. * 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 * Returns the container with the given client window ID or NULL if no such

View File

@ -362,7 +362,7 @@ Con *con_inside_floating(Con *con) {
* Checks if the given container is inside a focused container. * 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) if (con == focused)
return true; return true;
if (!con->parent) if (!con->parent)