mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 00:50:42 -05:00
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:
parent
48d1bf9ea9
commit
8a7b564219
@ -1660,7 +1660,7 @@ cycle_logical_monitors (MetaInputSettings *settings,
|
|||||||
if (l->next)
|
if (l->next)
|
||||||
*next_logical_monitor = l->next->data;
|
*next_logical_monitor = l->next->data;
|
||||||
else
|
else
|
||||||
*next_logical_monitor = logical_monitors->data;
|
*next_logical_monitor = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user