goto fail;
}
- if (hwc_window_cursor != NULL)
- _e_rdp_pixman_output_image_composite_cursor(output, hwc_window_cursor, pix_surface, info.width, info.height, e_output_w, e_output_h);
+ _e_rdp_pixman_output_image_composite_cursor(output, hwc_window_cursor, pix_surface, info.width, info.height, e_output_w, e_output_h);
tbm_surface_unmap(tbm_surface);
tbm_surface_unmap(output->backup_tbm_surface);
b->client_count--;
output = b->output;
- if (output && output->frame_timer)
- {
- ecore_timer_del(output->frame_timer);
- output->frame_timer = NULL;
- }
-
- if (b->client_count == 0)
+ if (output && b->client_count == 0)
{
+ if (output->frame_timer)
+ {
+ ecore_timer_del(output->frame_timer);
+ output->frame_timer = NULL;
+ }
if (output->showing_surface)
{
pixman_image_unref(output->showing_surface);