JWM icon indicating copy to clipboard operation
JWM copied to clipboard

Fire EventWindowScreenChange when screen parameters change

Open tonsky opened this issue 4 years ago • 3 comments

tonsky avatar Aug 19 '21 20:08 tonsky

What kind of event will EventWindowScreenChange handle?

Is EventWindowScreenChange supposed to notify resolution change like ScaleFactorChanged in winit? https://github.com/rust-windowing/winit/blob/1b3b82a3c1369c5248a2e6a251230ba6c615e918/src/dpi.rs#L55

i10416 avatar Feb 08 '22 14:02 i10416

Yes, scale, resolution, color space etc

tonsky avatar Feb 08 '22 14:02 tonsky

Thanks. EventWindowScreenChange seems to be something much general.

Can I ask why you prefer sending them at once as EventWindowScreenChange, rather than notifying these changes separately?

i10416 avatar Feb 08 '22 14:02 i10416