Revert "e_main: init dpms when subsystem inited" accepted/tizen/4.0/unified/20170907.200052 accepted/tizen/unified/20170906.060831 submit/tizen/20170906.025837 submit/tizen_4.0/20170907.022353
authorJuyeon Lee <juyeonne.lee@samsung.com>
Wed, 6 Sep 2017 02:53:09 +0000 (11:53 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Wed, 6 Sep 2017 02:53:09 +0000 (11:53 +0900)
This reverts commit c4356fcf6c8ef877462d5a434730caef2e1eadb4.

src/bin/e_main.c

index 4046a7e..836b987 100644 (file)
@@ -224,15 +224,6 @@ _e_main_subsystem_defer(void *data EINA_UNUSED)
 
    TRACE_DS_BEGIN(MAIN:DEFERRED INTERNAL SUBSYSTEMS INIT);
 
-   TS("[DEFERRED] DPMS Init");
-   if (!e_dpms_init())
-     {
-        e_error_message_show(_("Enlightenment cannot set up dpms.\n"));
-        _e_main_shutdown(-1);
-     }
-   TS("[DEFERRED] DPMS Init Done");
-   _e_main_shutdown_push(e_dpms_shutdown);
-
    TS("[DEFERRED] Screens Init: win");
    if (!e_win_init())
      {
@@ -617,6 +608,15 @@ main(int argc, char **argv)
    TS("E_Pointer Init Done");
    _e_main_shutdown_push(e_pointer_shutdown);
 
+   TS("Dpms Init");
+   if (!e_dpms_init())
+     {
+        e_error_message_show(_("Enlightenment cannot set up dpms.\n"));
+        _e_main_shutdown(-1);
+     }
+   TS("Dpms Init Done");
+   _e_main_shutdown_push(e_dpms_shutdown);
+
    TRACE_DS_BEGIN(MAIN:SCREEN INIT);
    TS("Screens Init");
    if (!_e_main_screens_init())