Jeftaei / draw

0 stars 0 forks source link

Minimized window doesnt recieve events #5

Closed Jeftaei closed 3 months ago

Jeftaei commented 3 months ago

I want the window to be minimized in the background when not used, unfortunately minimize and visible both stop events from reaching the window which is slightly annoying

Jeftaei commented 3 months ago

will need a input handler on a different thread to actually accomplish this unfortunately

Jeftaei commented 3 months ago

Holy Moly im STUPID !

event_loop.listen_device_events(DeviceEvents::Always);

Didnt realize this function existed, but it solves the problem of device events not being fired when the window is minimized

Jeftaei commented 3 months ago

fixed with 880c2a7