if ((c = client_under_pointer()) &&
(allow_refocus || c != old) &&
(client_normal(c) &&
- client_focus(c, TRUE)))
+ client_focus(c)))
{
ob_debug_type(OB_DEBUG_FOCUS, "found in pointer stuff\n");
return c;
if (allow_refocus && old &&
old->desktop == DESKTOP_ALL &&
client_normal(old) &&
- client_focus(old, TRUE))
+ client_focus(old))
{
ob_debug_type(OB_DEBUG_FOCUS, "found in omnipresentness\n");
return old;
if (c->desktop == screen_desktop &&
client_normal(c) &&
(allow_refocus || c != old) &&
- client_focus(c, TRUE))
+ client_focus(c))
{
ob_debug_type(OB_DEBUG_FOCUS, "found in focus order\n");
return c;
*/
if (c->type == OB_CLIENT_TYPE_DESKTOP &&
(allow_refocus || c != old) &&
- client_focus(c, TRUE))
+ client_focus(c))
{
ob_debug_type(OB_DEBUG_FOCUS, "found a desktop window\n");
return c;