Fix indentation all through the project
Fixes a “regression” from 04918f3b0b, but
also other missed pieces.
This commit is contained in:
committed by
Link Mauve
parent
48cd15ed44
commit
eff793ab46
@@ -183,8 +183,8 @@ exposay_pick(struct desktop_shell *shell, int x, int y)
|
||||
{
|
||||
struct exposay_surface *esurface;
|
||||
|
||||
if (exposay_is_animating(shell))
|
||||
return;
|
||||
if (exposay_is_animating(shell))
|
||||
return;
|
||||
|
||||
wl_list_for_each(esurface, &shell->exposay.surface_list, link) {
|
||||
if (x < esurface->x || x > esurface->x + esurface->width)
|
||||
|
||||
+11
-11
@@ -2465,17 +2465,17 @@ desktop_surface_removed(struct weston_desktop_surface *desktop_surface,
|
||||
if (weston_surface_is_mapped(surface) &&
|
||||
shsurf->shell->win_close_animation_type == ANIMATION_FADE) {
|
||||
|
||||
if (shsurf->shell->compositor->state == WESTON_COMPOSITOR_ACTIVE) {
|
||||
pixman_region32_fini(&surface->pending.input);
|
||||
pixman_region32_init(&surface->pending.input);
|
||||
pixman_region32_fini(&surface->input);
|
||||
pixman_region32_init(&surface->input);
|
||||
weston_fade_run(shsurf->view, 1.0, 0.0, 300.0,
|
||||
fade_out_done, shsurf);
|
||||
return;
|
||||
} else {
|
||||
--surface->ref_count;
|
||||
}
|
||||
if (shsurf->shell->compositor->state == WESTON_COMPOSITOR_ACTIVE) {
|
||||
pixman_region32_fini(&surface->pending.input);
|
||||
pixman_region32_init(&surface->pending.input);
|
||||
pixman_region32_fini(&surface->input);
|
||||
pixman_region32_init(&surface->input);
|
||||
weston_fade_run(shsurf->view, 1.0, 0.0, 300.0,
|
||||
fade_out_done, shsurf);
|
||||
return;
|
||||
} else {
|
||||
--surface->ref_count;
|
||||
}
|
||||
}
|
||||
|
||||
weston_surface_destroy(surface);
|
||||
|
||||
Reference in New Issue
Block a user