chiark / gitweb /
terminal: fix back-buffer selection on DRM page-flip
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 2 Oct 2014 11:11:53 +0000 (13:11 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Fri, 3 Oct 2014 13:57:00 +0000 (15:57 +0200)
commitdb1a606610e5a528903a4380f30c9934a0c5a134
tree93805c43ee1ff25ab09406ae4d951d7cd7391c99
parent754fc0c720eb998b8e47e695c12807ced0ff3602
terminal: fix back-buffer selection on DRM page-flip

We currently select front-buffers as new back-buffer if they happen to be
the last buffer in our framebuffer-array. Fix this by never selecting a
new front buffer as back buffer.
src/libsystemd-terminal/grdev-drm.c