diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-19 15:37:09 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-22 23:10:19 +1000 |
commit | 31f91bd483797feb411077da0e351ccfae9ecc10 (patch) | |
tree | 7206427d2197de30d67ec5240eb4bcb08d92a751 /sway/commands/opacity.c | |
parent | 350e9ea9293a4c185734ecda9d77ee2fd13502d2 (diff) |
Improve resize performance by partially flushing the transaction queue
When interactively resizing some views (eg. Nautilus), new transactions
are added to the queue faster than the client can process them.
Previously, we would wait for the entire queue to be ready before
applying any of them, but in this case the transactions would time out,
giving the client choppy performance.
This changes the queue handling so it applies the transactions up to the
first waiting transaction, without waiting for the entire queue to be
ready.
Diffstat (limited to 'sway/commands/opacity.c')
0 files changed, 0 insertions, 0 deletions