Skip to content

Commit

Permalink
wl: Code-style beautification
Browse files Browse the repository at this point in the history
  • Loading branch information
psaavedra committed Nov 16, 2023
1 parent 66deb5f commit 7d61386
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions platform/wayland/cog-platform-wl.c
Original file line number Diff line number Diff line change
Expand Up @@ -974,10 +974,8 @@ create_failed(void *data, struct zwp_linux_buffer_params_v1 *params)
buffer->buffer = NULL;
}

static const struct zwp_linux_buffer_params_v1_listener params_listener = {
.created = create_succeeded,
.failed = create_failed
};
static const struct zwp_linux_buffer_params_v1_listener params_listener = {.created = create_succeeded,
.failed = create_failed};

static void
on_video_plane_display_dmabuf_receiver_handle_dmabuf(void *data,
Expand Down
2 changes: 1 addition & 1 deletion platform/wayland/cog-utils-wl.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ cog_wl_popup_create(CogWlPlatform *platform, WebKitOptionMenu *option_menu)
popup->option_menu = option_menu;

popup->width = viewport->window.width;
popup->height = cog_popup_menu_get_height_for_option_menu(option_menu) ;
popup->height = cog_popup_menu_get_height_for_option_menu(option_menu);

popup->popup_menu =
cog_popup_menu_create(option_menu, display->shm, popup->width, popup->height, display->current_output->scale);
Expand Down

0 comments on commit 7d61386

Please sign in to comment.