diff options
author | emersion <contact@emersion.fr> | 2018-06-17 12:49:34 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-06-17 12:49:34 +0100 |
commit | 843621714fff0dc4c1ce63e105a03b5d4028b833 (patch) | |
tree | ac2f7f681e92618b1cea797c00a1ee22813e88dc /rootston/keyboard.c | |
parent | fb118ac9966bbb663ddb9964f54c879a0bb88fba (diff) |
surface: fix double wl_buffer.release events
Prior to this commit, we re-uploaded the buffer even if a new one
wasn't attached. After uploading, we send wl_buffer.release. So,
this sequence of requests resulted in a double release:
surface.attach(buffer, 0, 0)
surface.commit()
<- buffer.release()
surface.commit()
<- buffer.release()
Diffstat (limited to 'rootston/keyboard.c')
0 files changed, 0 insertions, 0 deletions