null check client on X stack request

CID 1155287
This commit is contained in:
Mike Blumenkrantz 2014-03-13 12:04:48 -04:00
parent ddcc678d78
commit 865dc17221
1 changed files with 1 additions and 0 deletions

View File

@ -1602,6 +1602,7 @@ _e_comp_x_stack_request(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Ev
E_Client *ec;
ec = _e_comp_x_client_find_by_window(ev->win);
if (!ec) return ECORE_CALLBACK_RENEW;
if (ev->detail == ECORE_X_WINDOW_STACK_ABOVE)
evas_object_raise(ec->frame);
else if (ev->detail == ECORE_X_WINDOW_STACK_BELOW)