compositor-wayland: Code cleanup
Don't do multi-assignments. Signed-off-by: Dima Ryazanov <dima@gmail.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
01d5c02c04
commit
b7e70af346
@ -1395,7 +1395,8 @@ input_handle_button(void *data, struct wl_pointer *pointer,
|
||||
|
||||
if (frame_status(input->output->frame) & FRAME_STATUS_CLOSE) {
|
||||
wayland_output_destroy(&input->output->base);
|
||||
input->output = input->keyboard_focus = NULL;
|
||||
input->output = NULL;
|
||||
input->keyboard_focus = NULL;
|
||||
|
||||
if (wl_list_empty(&input->compositor->base.output_list))
|
||||
wl_display_terminate(input->compositor->base.wl_display);
|
||||
|
Loading…
Reference in New Issue
Block a user