Skip to content

Commit

Permalink
(Wayland) Untested - apply the same for Wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Aug 24, 2019
1 parent aa428e4 commit a623a61
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gfx/drivers_context/wayland_ctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1148,9 +1148,14 @@ static void gfx_ctx_wl_check_window(void *data, bool *quit,

if (new_width != *width * wl->last_buffer_scale || new_height != *height * wl->last_buffer_scale)
{
*resize = true;
*width = new_width;
*height = new_height;
*resize = true;

#ifdef HAVE_MENU
rarch_ctl(RARCH_CTL_SET_DEFERRED_MENU_CONTEXT_RESET, NULL);
#endif

wl->last_buffer_scale = wl->buffer_scale;
}

Expand Down

0 comments on commit a623a61

Please sign in to comment.