diff options
Diffstat (limited to 'screen.c')
-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 */ |