make 'after_restart' variable global
this allows the compositor to detect (accurately) whether it is a new instance
This commit is contained in:
parent
0ce43bd0dd
commit
e39b6601b0
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue