Markus Røyset

Results 99 comments of Markus Røyset

From what I understand, this would make sense for `WaylandHandle.display`, `XcbHandle.connection`, and `XlibHandle.connection`? I'm not sure if there's something analogous on other platforms.

> So it'll work the same way it works right now, it just prevent me from creating `RawDisplay` right inside `glutin`. Alright. I'm not familiar enough with `glutin` to understand...

I don't think that's possible, as the event loop *has* to be run on the main thread on some platforms. As for the actual problem at hand: `glutin::ContextWrapper` is `Send`,...

Actually, do you mind pinning this issue, @ArturKovacs?

Now that the Linux PR is up, we should have the major desktop platforms covered. Once we've got all platforms up to speed on the `new-keyboard` branch, I'm going to...

Are you able to reproduce this *only* with winit?

> Uhh who would we ask here to change the labels on the issue so this is recognized as multi-platform? :) ###### The people listed as either a maintainer or...

I have been looking into this myself, and it seems like APIs adjacent to the ones [used](https://github.com/rust-windowing/winit/issues/221#issuecomment-767690279) to resolve #221 (in #1840) lend themselves well to solving this issue on...

Your example is trivially fixed by adding a `move`, as is done in most of winit's examples. ```diff - event_loop.run(|event, target, cf| { + event_loop.run(move |event, target, cf| { ```...

The calls to `set_visible` and `set_inner_size` are where they are because of #1994 (which fixed a regression introduced by #1933)