summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2021-01-21 18:02:21 +0100
committerOlivier Fourdan <ofourdan@redhat.com>2021-01-21 18:08:48 +0100
commit26cc51a1a5345e42cd36dcf3668d5592dcc85f30 (patch)
treeab7b959501d24e102db96c3f36187047a76dfd10 /meson.build
parentd43f95703d3967d6a374967a81a7f022bbbf1698 (diff)
downloadmutter-26cc51a1a5345e42cd36dcf3668d5592dcc85f30.tar.gz
xwayland: Do not retry the same display
Mutter listens to two display connections, one for regular X11 clients and another one for the so called "managed services". Once an available display number is found for the regular X11 clients, mutter would then redo the work to find another available display number for the managed services. Yet, it does so starting from the same initial display, which is a waste of time since it just tried all displays to find the first available one, so all these, including the regular display it just took, are now in use. So instead of starting over from the beginning when looking for a display available for the managed services, continue from the next display immediately after the one we found precedently. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1680>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions