HumbleUI / JWM

Cross-platform window management and OS integration library for Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fire EventWindowScreenChange when screen parameters change

tonsky opened this issue · comments

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

Yes, scale, resolution, color space etc

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?