stacks - fix crash for pointer warp when client is null

This commit is contained in:
Carsten Haitzler 2016-12-16 19:03:21 +09:00
parent c6fa2f6457
commit e9de31249a
1 changed files with 1 additions and 1 deletions

View File

@ -5442,7 +5442,7 @@ e_client_pointer_warp_to_center(E_Client *ec)
(y >= ec->y) && (y <= (ec->y + ec->h)))
{
cec = _e_client_under_pointer_helper(ec->desk, ec, x, y);
cec = e_client_stack_active_adjust(cec);
if (cec) cec = e_client_stack_active_adjust(cec);
if (cec == ec) return 0;
}