mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 19:18:13 +02:00
x11: Fix incorrect output counting logic
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
e16acabf7a
commit
aa258985e9
1 changed files with 1 additions and 1 deletions
|
|
@ -911,7 +911,7 @@ load_x11_backend(struct weston_compositor *c, char const * backend,
|
|||
}
|
||||
|
||||
output_count++;
|
||||
if (option_count && output_count >= option_count)
|
||||
if (output_count >= option_count)
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue