shell: quit weston, if weston-desktop-shell dies early
[profile/ivi/weston-ivi-shell.git] / desktop-shell / shell.h
index c6ea328..2cfd1d6 100644 (file)
@@ -23,6 +23,7 @@
  */
 
 #include <stdbool.h>
+#include <time.h>
 
 #include "compositor.h"
 
@@ -134,7 +135,6 @@ struct desktop_shell {
        struct weston_surface *grab_surface;
 
        struct {
-               struct weston_process process;
                struct wl_client *client;
                struct wl_resource *desktop_shell;
                struct wl_listener client_destroy_listener;
@@ -210,6 +210,8 @@ struct desktop_shell {
        enum desktop_shell_panel_position panel_position;
 
        char *client;
+
+       struct timespec startup_time;
 };
 
 struct weston_output *