devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4ef8750733086d000d63ff10ae28f945c5fa6e64

commit 4ef8750733086d000d63ff10ae28f945c5fa6e64
Author: Chris Michael <[email protected]>
Date:   Fri Oct 30 09:08:41 2015 -0400

    ecore-drm: Don't exit tty setup if tty is already in graphics mode
    
    Summary: If we go to setup a tty and it is already in graphics mode,
    then there is no need to exit with a failed setup here. Instead, we
    can actually continue to setup the tty.
    
    @fix
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/ecore_drm/ecore_drm_tty.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/lib/ecore_drm/ecore_drm_tty.c 
b/src/lib/ecore_drm/ecore_drm_tty.c
index 40a0019..bf05786 100644
--- a/src/lib/ecore_drm/ecore_drm_tty.c
+++ b/src/lib/ecore_drm/ecore_drm_tty.c
@@ -68,10 +68,7 @@ _ecore_drm_tty_setup(Ecore_Drm_Device *dev)
      }
 
    if (kmode != KD_TEXT)
-     {
-        WRN("Virtual Terminal already in KD_GRAPHICS mode");
-        return EINA_FALSE;
-     }
+     WRN("Virtual Terminal already in KD_GRAPHICS mode");
 
    if (ioctl(dev->tty.fd, VT_ACTIVATE, minor(st.st_rdev)) < 0)
      {

-- 


Reply via email to