From 55e669fae4808222b9e0d5d0a756d23ba90db6c3 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 20 Jan 2014 15:29:31 +0000 Subject: [PATCH] Tiling2: Simple logic cleanup. --- src/modules/tiling/e_mod_tiling.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c index 4d7ed1374..efb96318e 100644 --- a/src/modules/tiling/e_mod_tiling.c +++ b/src/modules/tiling/e_mod_tiling.c @@ -646,11 +646,8 @@ _pre_client_assign_hook(void *data __UNUSED__, if (is_ignored_window(extra)) return; - if ((ec->bordername && strcmp(ec->bordername, "pixel")) - || !ec->bordername) - { - change_window_border(ec, "pixel"); - } + if (!ec->bordername || strcmp(ec->bordername, "pixel")) + change_window_border(ec, "pixel"); } static void _move_or_resize(E_Client *ec)