diff options
author | okan | 2014-09-07 17:38:38 +0000 |
---|---|---|
committer | okan | 2014-09-07 17:38:38 +0000 |
commit | 6ad47ab7a1880d92f7b8b36722a424dd841025eb (patch) | |
tree | bf320e613590ab341a1ea73c944b66ad8369afe1 /screen.c | |
parent | de8414180ba3e7a036d756ad6ba65c058536754a (diff) | |
download | cwm-6ad47ab7a1880d92f7b8b36722a424dd841025eb.tar.gz |
screen_fromroot -> screen_find
Diffstat (limited to '')
-rw-r--r-- | screen.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 */ |