forked from enlightenment/enlightenment
wl-desktop-shell: Don't call e_client_ping here.
Summary: As pointed out by shiin, this causes an infinite loop due to e_client_ping already been called in the pre_frame callback. Thanks for spotting this !! :) @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
bcd3c6de49
commit
7cb087238d
|
@ -508,9 +508,6 @@ _e_shell_surface_ping(struct wl_resource *resource)
|
|||
return;
|
||||
}
|
||||
|
||||
ec->hung = EINA_TRUE;
|
||||
e_client_ping(ec);
|
||||
|
||||
serial = wl_display_next_serial(ec->comp->wl_comp_data->wl.disp);
|
||||
wl_shell_surface_send_ping(ec->comp_data->shell.surface, serial);
|
||||
}
|
||||
|
@ -1094,9 +1091,6 @@ _e_xdg_shell_surface_ping(struct wl_resource *resource)
|
|||
return;
|
||||
}
|
||||
|
||||
ec->hung = EINA_TRUE;
|
||||
e_client_ping(ec);
|
||||
|
||||
serial = wl_display_next_serial(ec->comp->wl_comp_data->wl.disp);
|
||||
if (ec->comp->wl_comp_data->shell_interface.xdg_shell)
|
||||
xdg_shell_send_ping(ec->comp->wl_comp_data->shell_interface.xdg_shell, serial);
|
||||
|
|
Loading…
Reference in New Issue