Commit 36102bfa authored by Simon Ser's avatar Simon Ser

comp: make Wayland window unresizable

This prevents the compositor from issuing resize requests. We ignore
those anyway.
parent 746cccca
Pipeline #75076 passed with stages
in 1 minute and 52 seconds
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment