summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/drm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index c4446c11bd..b0e0ff41b9 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -319,6 +319,8 @@ _drm_pointer_warp(const Ecore_Evas *ee, Evas_Coord x, Evas_Coord y)
319static void 319static void
320_drm_show(Ecore_Evas *ee) 320_drm_show(Ecore_Evas *ee)
321{ 321{
322 Ecore_Evas_Engine_Drm_Data *edata;
323
322 if ((!ee) || (ee->visible)) return; 324 if ((!ee) || (ee->visible)) return;
323 325
324 ee->should_be_visible = 1; 326 ee->should_be_visible = 1;
@@ -344,6 +346,14 @@ _drm_show(Ecore_Evas *ee)
344 if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee); 346 if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee);
345 } 347 }
346 if (ee->func.fn_show) ee->func.fn_show(ee); 348 if (ee->func.fn_show) ee->func.fn_show(ee);
349
350 edata = ee->engine.data;
351 /* HACK: sometimes we still have an animator ticking when we vc switch
352 * so for now we just fire off a flip here to kick it when we come back.
353 * This is just papering over a bug for now until I have time to track
354 * it down properly. :(
355 */
356 ecore_drm2_fb_flip(NULL, edata->output);
347} 357}
348 358
349static void 359static void