summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
diff options
context:
space:
mode:
authorChristopher Michael <devilhorns@comcast.net>2020-05-06 10:06:53 -0400
committerChristopher Michael <devilhorns@comcast.net>2020-05-06 10:06:53 -0400
commita70b811e8d7b0abd40618e7beba68ea9562f7352 (patch)
tree213ae7b54f6e08650162273d24e74cb922a79eba /src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
parent8db62cb22b9bfb8f52e86b76575e5b61f67d9351 (diff)
ecore-evas-drm: Remove useless check for visibility
This is already checked above so having a second check here is just silliness
Diffstat (limited to 'src/modules/ecore_evas/engines/drm/ecore_evas_drm.c')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c2
1 files changed, 0 insertions, 2 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 3953b3323d..ca0f61413c 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -404,8 +404,6 @@ _drm_show(Ecore_Evas *ee)
404 if (ee->func.fn_state_change) ee->func.fn_state_change(ee); 404 if (ee->func.fn_state_change) ee->func.fn_state_change(ee);
405 } 405 }
406 406
407 if (ee->visible) return;
408
409 ee->visible = 1; 407 ee->visible = 1;
410 if (ee->func.fn_show) ee->func.fn_show(ee); 408 if (ee->func.fn_show) ee->func.fn_show(ee);
411 409