Closed flexibeast closed 1 year ago
I'm also having this issue
Thanks, I have changed the default to 1 now, hopefully patching the most urgent problem, but we probably need to investigate further as you determined that current_output is not initialised properly either.
Thanks, I have changed the default to 1 now, hopefully patching the most urgent problem, but we probably need to investigate further as you determined that current_output is not initialised properly either.
Thanks! Happy to provide output with WAYLAND_DEBUG enabled, if you think that might be helpful .... ?
I think your work-arround should be enough @proycon.
Sway probably fixed something in master. I was receiving surface events before the layer_surface_configure notice.
This ticket also means that sometime there is no alternative to the blurry first frame, if the compositor decide to send the events in a crazy order.
The fix is released now, closing this issue
@proycon Thanks!
Context: Gentoo; wlroots 0.16.2(-r1); sway 1.8.1; unmodified
config.def.h
.After a successful build, running
wvkbd-mobintl
results in the error mentioned in the title:This is due to
keyboard.preferred_scale
not having been changed from its default value of0
, which in turn is due tocurrent_output
not having been initialised by the timedisplay_handle_scale
is called, meaning that the conditional in theif
:never succeeds. Further, inserting a
printf
inwl_surface_enter
shows that the function is never called, leavingcurrent_output
uninitialised.If the default value of
keyboard.preferred_scale
is changed to1
,wvkbd-mobintl
displays a keyboard.