forked from enlightenment/enlightenment
check warp_client existence during pointer warp before dereferencing it
ref T2679
This commit is contained in:
parent
61ba406001
commit
8a764901c6
|
@ -222,7 +222,7 @@ _e_client_desk_window_profile_wait_desk_delfn(void *data, void *obj)
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_e_client_pointer_warp_to_center_timer(void *data EINA_UNUSED)
|
_e_client_pointer_warp_to_center_timer(void *data EINA_UNUSED)
|
||||||
{
|
{
|
||||||
if (warp_to)
|
if (warp_to && warp_client)
|
||||||
{
|
{
|
||||||
int x, y;
|
int x, y;
|
||||||
double spd;
|
double spd;
|
||||||
|
|
Loading…
Reference in New Issue