From 8a7b5642191709fa2e732ec92a3d0901d2db240e Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 16 Jun 2017 19:21:18 +0200 Subject: [PATCH] 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 --- src/backends/meta-input-settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/meta-input-settings.c b/src/backends/meta-input-settings.c index 699b1e7f5..05c3ceb2d 100644 --- a/src/backends/meta-input-settings.c +++ b/src/backends/meta-input-settings.c @@ -1660,7 +1660,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;