aboutsummaryrefslogtreecommitdiff
path: root/protocol/wlr-gamma-control-unstable-v1.xml
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-03-15 03:18:06 -0400
committeremersion <contact@emersion.fr>2019-03-15 09:43:40 +0200
commit67523fb22889a6025890b4acd497a973c1d2591b (patch)
treefc7358e84d239aea2214fa6a5dfc3bd83b06a95e /protocol/wlr-gamma-control-unstable-v1.xml
parent408eca7dfa12eda0f1b0ec6050e99ee2e6a8f2b4 (diff)
backend/wayland: improve output number handling
This improves the way the output numbers are handled for the wayland backend. Instead of using the number of active outputs plus one, the last used number is stored and new outputs will increment it. This fixes the situation where you start with one output, create a second, close the first, and create a third. Without this, both outputs will be `WL-2`, which causes an issue since the identifier will also be identical. With this, the last output is `WL-3` and the outputs can be distinguished.
Diffstat (limited to 'protocol/wlr-gamma-control-unstable-v1.xml')
0 files changed, 0 insertions, 0 deletions