From 03c6fee35654614070064b77b835416b6e5b010e Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 20 Jan 2014 15:25:00 +0000 Subject: [PATCH] Tiling2: Properly ignore e util clients. This fixes all the error messages that are printed on e startup. --- src/modules/tiling/e_mod_tiling.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c index 0d55cfcc0..4d7ed1374 100644 --- a/src/modules/tiling/e_mod_tiling.c +++ b/src/modules/tiling/e_mod_tiling.c @@ -174,6 +174,9 @@ is_tilable(const E_Client *ec) return false; } + if (e_client_util_ignored_get(ec)) + return false; + return true; } @@ -892,8 +895,6 @@ _add_hook(void *data __UNUSED__, int type __UNUSED__, E_Event_Client *event) { E_Client *ec = event->ec; - if (e_client_util_ignored_get(ec)) return ECORE_CALLBACK_RENEW; - DBG("Add: %p / '%s' / '%s', (%d,%d), changes(size=%d, position=%d, client=%d)" " g:%dx%d+%d+%d ecname:'%s' maximized:%s fs:%s", ec, ec->icccm.title, ec->netwm.name, @@ -1263,9 +1264,6 @@ e_modapi_init(E_Module *m) E_Client *ec; E_CLIENT_FOREACH(e_comp_get(NULL), ec) { - if (e_client_util_ignored_get(ec)) - continue; - _add_client(ec); } }