Fix toggle fullscreen
This commit is contained in:
parent
4c8e5e07c0
commit
dba9781f26
|
@ -658,6 +658,8 @@ static void handle_toplevel_config(void *data, struct xdg_toplevel *toplevel,
|
||||||
wl->height = height;
|
wl->height = height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wl_egl_window_resize(wl->win, width, height, 0, 0);
|
||||||
|
|
||||||
wl->configured = false;
|
wl->configured = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -722,6 +724,8 @@ static void handle_zxdg_toplevel_config(void *data, struct zxdg_toplevel_v6 *top
|
||||||
wl->height = height;
|
wl->height = height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wl_egl_window_resize(wl->win, width, height, 0, 0);
|
||||||
|
|
||||||
wl->configured = false;
|
wl->configured = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue