diff --git a/clients/simple-egl.c b/clients/simple-egl.c index fcbea757..2c9a0a0b 100644 --- a/clients/simple-egl.c +++ b/clients/simple-egl.c @@ -409,8 +409,8 @@ redraw(void *data, struct wl_callback *callback, uint32_t time) if (window->opaque || window->fullscreen) { region = wl_compositor_create_region(window->display->compositor); wl_region_add(region, 0, 0, - window->window_size.width, - window->window_size.height); + window->geometry.width, + window->geometry.height); wl_surface_set_opaque_region(window->surface, region); wl_region_destroy(region); }