shell: quit weston, if weston-desktop-shell dies early
[profile/ivi/weston-ivi-shell.git] / desktop-shell / shell.h
index 6e63785..2cfd1d6 100644 (file)
  */
 
 #include <stdbool.h>
+#include <time.h>
 
 #include "compositor.h"
 
+#include "desktop-shell-server-protocol.h"
+
 enum animation_type {
        ANIMATION_NONE,
 
@@ -132,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;
@@ -194,6 +196,7 @@ struct desktop_shell {
        uint32_t binding_modifier;
        uint32_t exposay_modifier;
        enum animation_type win_animation_type;
+       enum animation_type win_close_animation_type;
        enum animation_type startup_animation_type;
        enum animation_type focus_animation_type;
 
@@ -204,7 +207,11 @@ struct desktop_shell {
        struct wl_listener output_move_listener;
        struct wl_list output_list;
 
+       enum desktop_shell_panel_position panel_position;
+
        char *client;
+
+       struct timespec startup_time;
 };
 
 struct weston_output *