aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorokan2014-09-07 17:38:38 +0000
committerokan2014-09-07 17:38:38 +0000
commit6ad47ab7a1880d92f7b8b36722a424dd841025eb (patch)
treebf320e613590ab341a1ea73c944b66ad8369afe1 /screen.c
parentde8414180ba3e7a036d756ad6ba65c058536754a (diff)
downloadcwm-6ad47ab7a1880d92f7b8b36722a424dd841025eb.tar.gz
screen_fromroot -> screen_find
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/screen.c b/screen.c
index 9769fee..dbb8036 100644
--- a/screen.c
+++ b/screen.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: screen.c,v 1.64 2014/08/24 15:37:45 okan Exp $
+ * $OpenBSD: screen.c,v 1.65 2014/09/07 17:38:38 okan Exp $
*/
#include <sys/param.h>
@@ -79,12 +79,12 @@ screen_init(int which)
}
struct screen_ctx *
-screen_fromroot(Window rootwin)
+screen_find(Window win)
{
struct screen_ctx *sc;
TAILQ_FOREACH(sc, &Screenq, entry)
- if (sc->rootwin == rootwin)
+ if (sc->rootwin == win)
return (sc);
/* XXX FAIL HERE */