Fix wl_drm session activation callback

The code intended to force evas to redraw when we switch back from
another virtual console is failing to do so.  Remove it and replace
it with simpler code that successfully forces a redraw.
devs/discomfitor/action_route
Derek Foreman 6 years ago
parent 4fca111eb5
commit 5ce8bf3992
  1. 8
      src/modules/wl_drm/e_mod_main.c

@ -58,13 +58,7 @@ _e_mod_drm_cb_activate(void *data EINA_UNUSED, int type EINA_UNUSED, void *event
session_state = EINA_TRUE;
ecore_evas_show(e_comp->ee);
E_CLIENT_FOREACH(ec)
{
if (ec->visible && (!ec->input_only))
e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
}
e_comp_render_queue();
e_comp_shape_queue_block(0);
evas_damage_rectangle_add(e_comp->evas, 0, 0, e_comp->w, e_comp->h);
ecore_event_add(E_EVENT_COMPOSITOR_ENABLE, NULL, NULL, NULL);
}
else

Loading…
Cancel
Save