Skip to content

Commit

Permalink
Merge branch 'master' into richardgv-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgv committed Aug 23, 2015
2 parents 86e88bd + 10517b2 commit 86266e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/compton.c
Original file line number Diff line number Diff line change
Expand Up @@ -2106,7 +2106,10 @@ repair_win(session_t *ps, win *w) {

// Why care about damage when screen is unredirected?
// We will force full-screen repaint on redirection.
if (!ps->redirected) return;
if (!ps->redirected) {
free_region(ps, &parts);
return;
}

// Remove the part in the damage area that could be ignored
if (!ps->reg_ignore_expire && w->prev_trans && w->prev_trans->reg_ignore)
Expand Down

0 comments on commit 86266e0

Please sign in to comment.