You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
None of our examples work on Wayland. Upon some investigation I discovered that this is due to us misusing winit. From IRC:
2020-04-12 01:34:32 kchibisov lovesegfault: let me debug your thing.
2020-04-12 01:36:44 kchibisov Oh, I've got the issue.
2020-04-12 01:37:16 kchibisov yeah, they are calling to monitor too early.
2020-04-12 01:37:32 kchibisov I absolutely hate what they are doing so.
2020-04-12 01:39:32 lovesegfault kchibisov: Yeah, did you find they part where they draw the hidden window to figure out a good size?
2020-04-12 01:40:31 kchibisov yeah, they are doing shit.
2020-04-12 01:40:47 kchibisov like this code is just bad and won't work..
2020-04-12 01:41:03 kchibisov first of all `set_inner_size` doesn't guarantee you anything.
2020-04-12 01:41:27 kchibisov set_outer_position is not a thing on some systems.
2020-04-12 01:42:17 kchibisov Also, on HiDPI system, initial scale factor is always 1.
2020-04-12 01:42:26 kchibisov so you'll resize anyways.
2020-04-12 01:43:45 kchibisov I'll propose to just use scale factor instead of monitor dimensions magic, since THERE'S NO GUARANTEE THAT THEY ARE CORRECT.
2020-04-12 01:44:34 kchibisov like just use scale factor and don't be smart.
The text was updated successfully, but these errors were encountered:
None of our examples work on Wayland. Upon some investigation I discovered that this is due to us misusing
winit
. From IRC:The text was updated successfully, but these errors were encountered: