@ -3572,7 +3572,6 @@ int main(int argc, char *argv[])
sigaction(SIGSEGV, &segv_action, NULL);
segv_compositor = ec;
ec->option_idle_time = idle_time;
ec->idle_time = idle_time;
setenv("WAYLAND_DISPLAY", socket_name, 1);
@ -324,8 +324,7 @@ struct weston_compositor {
uint32_t state;
struct wl_event_source *idle_source;
uint32_t idle_inhibit;
int option_idle_time; /* default timeout, s */
int idle_time; /* effective timeout, s */
int idle_time; /* timeout, s */
/* Repaint state. */
struct wl_array vertices;