Lines Matching refs:shell

15  desktop-shell/shell.c         |  29 ++++-
16 desktop-shell/shell.h | 2 +
22 diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
24 --- a/desktop-shell/shell.c
25 +++ b/desktop-shell/shell.c
31 + new_layer_link = &shsurf->shell->top_layer.view_list;
33 + new_layer_link = &shsurf->shell->bottom_layer.view_list;
38 @@ -2787,6 +2792,10 @@ resume_desktop(struct desktop_shell *shell)
39 weston_layer_set_position(&shell->panel_layer,
42 + weston_layer_set_position(&shell->top_layer,
44 + weston_layer_set_position(&shell->bottom_layer,
47 restore_focus_state(shell, get_current_workspace(shell));
49 @@ -3360,7 +3369,7 @@ activate(struct desktop_shell *shell, struct weston_view *view,
58 @@ -3380,6 +3389,9 @@ activate(struct desktop_shell *shell, struct weston_view *view,
60 lower_fullscreen_layer(shell, shsurf->output);
68 @@ -3402,6 +3414,7 @@ activate(struct desktop_shell *shell, struct weston_view *view,
76 @@ -3410,7 +3423,7 @@ activate(struct desktop_shell *shell, struct weston_view *view,
80 - if (shell->focus_animation_type != ANIMATION_NONE) {
81 + if (old_es && shell->focus_animation_type != ANIMATION_NONE) {
82 ws = get_current_workspace(shell);
83 animate_focus_change(shell, ws, get_default_view(old_es), get_default_view(es));
85 @@ -3504,6 +3517,8 @@ lock(struct desktop_shell *shell)
86 if (shell->showing_input_panels)
87 weston_layer_unset_position(&shell->input_panel_layer);
89 + weston_layer_unset_position(&shell->top_layer);
90 + weston_layer_unset_position(&shell->bottom_layer);
92 weston_layer_set_position(&shell->lock_layer,
94 @@ -4318,6 +4333,8 @@ shell_for_each_layer(struct desktop_shell *shell,
95 func(shell, &shell->lock_layer, data);
96 func(shell, &shell->input_panel_layer, data);
97 func(shell, &shell->workspace.layer, data);
98 + func(shell, &shell->top_layer, data);
99 + func(shell, &shell->bottom_layer, data);
105 workspace_destroy(&shell->workspace);
107 + desktop_shell_destroy_layer(&shell->bottom_layer);
108 + desktop_shell_destroy_layer(&shell->top_layer);
109 desktop_shell_destroy_layer(&shell->panel_layer);
110 desktop_shell_destroy_layer(&shell->background_layer);
111 desktop_shell_destroy_layer(&shell->lock_layer);
113 weston_layer_init(&shell->background_layer, ec);
114 weston_layer_init(&shell->lock_layer, ec);
115 weston_layer_init(&shell->input_panel_layer, ec);
116 + weston_layer_init(&shell->top_layer, ec);
117 + weston_layer_init(&shell->bottom_layer, ec);
119 weston_layer_set_position(&shell->fullscreen_layer,
123 weston_layer_set_position(&shell->background_layer,
125 + weston_layer_set_position(&shell->top_layer,
127 + weston_layer_set_position(&shell->bottom_layer,
130 wl_list_init(&shell->seat_list);
132 diff --git a/desktop-shell/shell.h b/desktop-shell/shell.h
134 --- a/desktop-shell/shell.h
135 +++ b/desktop-shell/shell.h