terminal: check swapping state during activation
authorDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 28 Nov 2012 21:14:05 +0000 (22:14 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 28 Nov 2012 21:14:05 +0000 (22:14 +0100)
commit9f63ed94d42090a40ba27e55dd4673e050ef3bf2
tree32e95739f6528e4f419045394bc0bb858e265ab4
parentdf980461899ecf1c0daf214a26b97689b1429004
terminal: check swapping state during activation

If a terminal gets activated while a swap-buffer operation is still in
progress from the previous session, we must not directly reschedule it.
Instead, we wait for the page-flip event and continue then.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/kmscon_terminal.c