summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authorokan <okan>2014-09-07 17:38:38 +0000
committerokan <okan>2014-09-07 17:38:38 +0000
commitbe091b35236438d578782c7d5711a512451f302b (patch)
tree5e0468beb930a07924e177fca7faed1bd3d2bcd2 /client.c
parent78e0f2122580291206b5c9c3d07db9663f409c0b (diff)
downloadcwm-be091b35236438d578782c7d5711a512451f302b.tar.gz
cwm-be091b35236438d578782c7d5711a512451f302b.tar.xz
cwm-be091b35236438d578782c7d5711a512451f302b.zip
screen_fromroot -> screen_find
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index d8e7fc4..a75b3bc 100644
--- a/client.c
+++ b/client.c
@@ -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)