From 7bf465af9f042043f636e306d96d7f52a9916cd4 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 26 Aug 2011 03:23:57 +0200 Subject: [PATCH] Fix prototype of con_inside_focused --- include/con.h | 2 +- src/con.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5