shell: Add the right output object to the shell output_list
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 24 Oct 2013 06:36:04 +0000 (23:36 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 24 Oct 2013 06:36:04 +0000 (23:36 -0700)
Error on my part while renaming the shell_output variable.

src/shell.c

index 8f17e89..fdc163e 100644 (file)
@@ -4651,7 +4651,7 @@ create_shell_output(struct desktop_shell *shell,
        shell_output->destroy_listener.notify = handle_output_destroy;
        wl_signal_add(&output->destroy_signal,
                      &shell_output->destroy_listener);
-       wl_list_insert(shell->output_list.prev, &output->link);
+       wl_list_insert(shell->output_list.prev, &shell_output->link);
 }
 
 static void