screen_fromroot -> screen_find

This commit is contained in:
okan
2014-09-07 17:38:38 +00:00
parent 78e0f21225
commit be091b3523
4 changed files with 8 additions and 8 deletions

View File

@@ -68,7 +68,7 @@ client_init(Window win, struct screen_ctx *sc)
return (NULL);
if (sc == NULL) {
sc = screen_fromroot(wattr.root);
sc = screen_find(wattr.root);
mapped = 1;
} else {
if (wattr.override_redirect || wattr.map_state != IsViewable)