discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=e39b6601b06d3f851f9aadda27730ac3d05c6503

commit e39b6601b06d3f851f9aadda27730ac3d05c6503
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Feb 24 14:15:42 2017 -0500

    make 'after_restart' variable global
    
    this allows the compositor to detect (accurately) whether it is a new
    instance
---
 src/bin/e.h      | 2 ++
 src/bin/e_main.c | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/e.h b/src/bin/e.h
index cda037c..0731601 100644
--- a/src/bin/e.h
+++ b/src/bin/e.h
@@ -321,6 +321,8 @@ extern E_API Eina_Bool e_nopause;
 extern E_API Eina_Bool e_precache_end;
 extern E_API Eina_Bool x_fatal;
 
+extern E_API Eina_Bool after_restart;
+
 extern EINTERN const char *e_first_frame;
 extern EINTERN double e_first_frame_start_time;
 
diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index f743412..bab5a97 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -111,6 +111,7 @@ E_API Eina_Bool starting = EINA_TRUE;
 E_API Eina_Bool stopping = EINA_FALSE;
 E_API Eina_Bool restart = EINA_FALSE;
 E_API Eina_Bool e_nopause = EINA_FALSE;
+E_API Eina_Bool after_restart = EINA_FALSE;
 EINTERN const char *e_first_frame = NULL;
 EINTERN double e_first_frame_start_time = -1;
 
@@ -213,7 +214,6 @@ main(int argc, char **argv)
 {
    Eina_Bool nostartup = EINA_FALSE;
    Eina_Bool safe_mode = EINA_FALSE;
-   Eina_Bool after_restart = EINA_FALSE;
    Eina_Bool waslocked = EINA_FALSE;
    Eina_Stringshare *strshare;
    double t = 0.0, tstart = 0.0;

-- 


Reply via email to