bar/wayland: do *not* set backend->scale in xdg_output_handle_done()

This is done by update_size(). Setting it in xdg_output_handle_done()
causes update_size() to do an early exit, and thus we end up never
actually configuring the surface.

We also never instantiate a pixman image, which led to a hard crash at
startup when the user had configured a specific output to use.
This commit is contained in:
Daniel Eklöf 2020-07-20 17:30:20 +02:00
parent aa1b3457a1
commit 588e6150d2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -452,7 +452,6 @@ xdg_output_handle_done(void *data, struct zxdg_output_v1 *xdg_output)
{
/* User specified a monitor, and this is one */
backend->monitor = mon;
backend->scale = mon->scale;
}
}