Tiling2: Simple logic cleanup.

This commit is contained in:
Tom Hacohen 2014-01-20 15:29:31 +00:00
parent 03c6fee356
commit 55e669fae4
1 changed files with 2 additions and 5 deletions

View File

@ -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)