compositor: Don't repaint outputs being destroyed
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 13 Dec 2013 20:10:55 +0000 (22:10 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 17 Dec 2013 01:23:01 +0000 (17:23 -0800)
commite1e2352dcc157fd0bd7c880379ba42b9e5d9be75
tree144c33698e338cafb598102ca410a76b99fc0c71
parent010d0b169589ca5af5bb38fa1dba09a8885cc405
compositor: Don't repaint outputs being destroyed

Set a flag when an output is being destroyed and use that to avoid
repainting. This allows functions that schedule an output repaint to
be called when the output is being destroyed without causing the
compositor to crash.
src/compositor.c
src/compositor.h