aboutsummaryrefslogtreecommitdiff
path: root/riverctl/main.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-06-08 00:10:30 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-06-08 00:10:30 +0200
commitc0d7e71ec499d3e520c5567f4fbf6c6bda723adc (patch)
tree02ac0d2f6f93847f9e3e34f335da443cedacbdac /riverctl/main.zig
parent7b1e07d3d524f5a739b126f5de92ad5b2ee1e4c0 (diff)
downloadriver-c0d7e71ec499d3e520c5567f4fbf6c6bda723adc.tar.gz
river-c0d7e71ec499d3e520c5567f4fbf6c6bda723adc.tar.xz
transactions: handle preemption properly
when a transaction interrupts an ongoing transaction, we must be careful to handle the configures properly. This commit adds a new member to view so that we can store the dimensions sent with the last configure in order to determine if the preempting transaction should override the ongoing configure or not. Additionally, some views do not ack a configure if they already have the requested dimensions. This can happen if a pending configure setting alternative dimensions is overridden, so in this case we do not wait for an ack before committing the transaction.
Diffstat (limited to 'riverctl/main.zig')
0 files changed, 0 insertions, 0 deletions