mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-23 12:35:41 +02:00
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:
parent
aa1b3457a1
commit
588e6150d2
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue