443 |
{ |
{ |
444 |
c = clientGetNext (clients, 0); |
c = clientGetNext (clients, 0); |
445 |
clientSetFocus (c, True); |
clientSetFocus (c, True); |
446 |
if (!(not_warp_to_next || c->non_focusing)) |
if (c && !(not_warp_to_next || c->non_focusing)) |
447 |
clientWarpMouse (c); |
clientWarpMouse (c); |
448 |
} |
} |
449 |
else |
else |
474 |
{ |
{ |
475 |
c = clientGetNext (clients, 0); |
c = clientGetNext (clients, 0); |
476 |
clientSetFocus (c, True); |
clientSetFocus (c, True); |
477 |
if (!(not_warp_to_next || c->non_focusing)) |
if (c && !(not_warp_to_next || c->non_focusing)) |
478 |
clientWarpMouse (c); |
clientWarpMouse (c); |
479 |
} |
} |
480 |
else |
else |