Skip to content

Commit

Permalink
fix: allow resetting fullscreen client to nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Nov 7, 2023
1 parent d7c669c commit ca9441e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view-backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ wpe_view_backend_set_input_client(struct wpe_view_backend* backend, const struct
void
wpe_view_backend_set_fullscreen_client(struct wpe_view_backend* backend, const struct wpe_view_backend_fullscreen_client* client, void* client_data)
{
assert(!backend->fullscreen_client);
assert(!backend->fullscreen_client || !client);

backend->fullscreen_client = client;
backend->fullscreen_client_data = client_data;
Expand Down

0 comments on commit ca9441e

Please sign in to comment.