|
|
@ -717,16 +717,13 @@ workspace_translate_in(struct workspace *ws, double fraction) |
|
|
|
static void |
|
|
|
static void |
|
|
|
broadcast_current_workspace_state(struct desktop_shell *shell) |
|
|
|
broadcast_current_workspace_state(struct desktop_shell *shell) |
|
|
|
{ |
|
|
|
{ |
|
|
|
struct wl_list *link; |
|
|
|
struct wl_resource *resource; |
|
|
|
|
|
|
|
|
|
|
|
for (link = shell->workspaces.client_list.next; |
|
|
|
wl_resource_for_each(resource, &shell->workspaces.client_list) |
|
|
|
link != &shell->workspaces.client_list; |
|
|
|
workspace_manager_send_state(resource, |
|
|
|
link = link->next) { |
|
|
|
|
|
|
|
workspace_manager_send_state(wl_resource_from_link(link), |
|
|
|
|
|
|
|
shell->workspaces.current, |
|
|
|
shell->workspaces.current, |
|
|
|
shell->workspaces.num); |
|
|
|
shell->workspaces.num); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static void |
|
|
|
static void |
|
|
|
reverse_workspace_change_animation(struct desktop_shell *shell, |
|
|
|
reverse_workspace_change_animation(struct desktop_shell *shell, |
|
|
|