present: When unflipping, copy to flip window rather than screen
authorKeith Packard <keithp@keithp.com>
Wed, 20 Nov 2013 06:13:54 +0000 (22:13 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 20 Nov 2013 21:12:33 +0000 (13:12 -0800)
commit6403cbb143c67872ca9c58e3116ae7942def0ae1
tree12af84346255f516a75ed2fee02c70e72344f26f
parent8bdd2ccc776ded3f527596b5009ef25129aa3287
present: When unflipping, copy to flip window rather than screen

unflip happens after the clip lists have been updated, so instead of
smashing the whole screen and drawing over other windows, just draw to
the original flip window; it'll have the right clip list and so the
copy will work just fine.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
present/present.c