comp: make Wayland window unresizable

This prevents the compositor from issuing resize requests. We ignore
those anyway.
This commit is contained in:
Simon Ser committed 2019-10-31 16:42:26 +01:00
1 parent 746cccca36
commit 36102bfa1e
1 file changed
+3
@@ -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;
}