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:
Chris Michael 2014-10-30 08:41:04 -04:00
parent bcd3c6de49
commit 7cb087238d
1 changed files with 0 additions and 6 deletions

View File

@ -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);