aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2014-09-07 17:38:38 +0000
committerokan2014-09-07 17:38:38 +0000
commit6ad47ab7a1880d92f7b8b36722a424dd841025eb (patch)
treebf320e613590ab341a1ea73c944b66ad8369afe1 /client.c
parentde8414180ba3e7a036d756ad6ba65c058536754a (diff)
downloadcwm-6ad47ab7a1880d92f7b8b36722a424dd841025eb.tar.gz
screen_fromroot -> screen_find
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index 5e2d2c4..53245b9 100644
--- a/client.c
+++ b/client.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: client.c,v 1.174 2014/08/25 12:49:19 okan Exp $
+ * $OpenBSD: client.c,v 1.175 2014/09/07 17:38:38 okan Exp $
*/
#include <sys/param.h>
@@ -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)