backends: Fix output cycling in non display-attached tablets

It would only allow to alternate between the logical monitors, we actually
want to return NULL here so it can cycle to the whole span of monitors.

https://bugzilla.gnome.org/show_bug.cgi?id=782032
This commit is contained in:
Carlos Garnacho 2017-06-16 19:21:18 +02:00
parent dc5b2e396c
commit 9b9bb9cf86

View File

@ -1637,7 +1637,7 @@ cycle_logical_monitors (MetaInputSettings *settings,
if (l->next)
*next_logical_monitor = l->next->data;
else
*next_logical_monitor = logical_monitors->data;
*next_logical_monitor = NULL;
}
return TRUE;