compositor: remove unused field option_idle_time

dev
Philipp Brüschweiler 12 years ago committed by Kristian Høgsberg
parent 7a3ec74cb6
commit 4b409c387d
  1. 1
      src/compositor.c
  2. 3
      src/compositor.h

@ -3572,7 +3572,6 @@ int main(int argc, char *argv[])
sigaction(SIGSEGV, &segv_action, NULL); sigaction(SIGSEGV, &segv_action, NULL);
segv_compositor = ec; segv_compositor = ec;
ec->option_idle_time = idle_time;
ec->idle_time = idle_time; ec->idle_time = idle_time;
setenv("WAYLAND_DISPLAY", socket_name, 1); setenv("WAYLAND_DISPLAY", socket_name, 1);

@ -324,8 +324,7 @@ struct weston_compositor {
uint32_t state; uint32_t state;
struct wl_event_source *idle_source; struct wl_event_source *idle_source;
uint32_t idle_inhibit; uint32_t idle_inhibit;
int option_idle_time; /* default timeout, s */ int idle_time; /* timeout, s */
int idle_time; /* effective timeout, s */
/* Repaint state. */ /* Repaint state. */
struct wl_array vertices; struct wl_array vertices;

Loading…
Cancel
Save