compositor: Update only existing backgrounds in output_move

dev
Benjamin Franzke 14 years ago
parent 9c26ff3507
commit 264b3f9d84
  1. 8
      compositor/compositor.c

@ -1327,9 +1327,11 @@ wlsc_output_move(struct wlsc_output *output, int x, int y)
output->x = x;
output->y = y;
output->background->x = x;
output->background->y = y;
wlsc_surface_update_matrix(output->background);
if (output->background) {
output->background->x = x;
output->background->y = y;
wlsc_surface_update_matrix(output->background);
}
pixman_region32_init(&output->previous_damage_region);

Loading…
Cancel
Save