mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
comp: make Wayland window unresizable
This prevents the compositor from issuing resize requests. We ignore those anyway.
This commit is contained in:
parent
746cccca36
commit
36102bfa1e
|
@ -210,6 +210,9 @@ comp_window_wayland_init_swapchain(struct comp_window *w,
|
|||
&w->swapchain, width, height, w->c->settings.color_format,
|
||||
w->c->settings.color_space, w->c->settings.present_mode);
|
||||
|
||||
xdg_toplevel_set_min_size(w_wayland->xdg_toplevel, width, height);
|
||||
xdg_toplevel_set_max_size(w_wayland->xdg_toplevel, width, height);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue