tests: add testcase for #239, bug number 2

If a window is unmapped during the draw_callback re-run when the screen
is just redirected, that window won't get a chance to acquire a pixmap.
If fading is enabled, the compositor will try to render that window and
crash.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-09-28 23:18:43 +01:00
parent 0c7a19fda6
commit df67fb2508
3 changed files with 58 additions and 0 deletions

View File

@ -5,3 +5,4 @@ cd $(dirname $0)
./run_one_test.sh $compton configs/empty.conf testcases/basic.py
./run_one_test.sh $compton configs/issue239.conf testcases/issue239.py
./run_one_test.sh $compton configs/issue239_2.conf testcases/issue239_2.py