From 077e0c937a555f865d38158ec61a8cb55d92e977 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 22 Oct 2013 12:40:54 -0700 Subject: [PATCH] compositor: Remove redundant and not well-defined focus field It was never clear what this field really did. --- src/evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evdev.c b/src/evdev.c index eb7631a7..ad7a3f6b 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -400,7 +400,7 @@ evdev_device_data(int fd, uint32_t mask, void *data) int len; ec = device->seat->compositor; - if (!ec->focus) + if (!ec->session_active) return 1; /* If the compositor is repainting, this function is called only once -- 2.34.1