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;