Shares the XConnection between all event loops instead of just all event (#572)

loops on the same thread.

This is needed for adding shared context support to glutin, as contexts
must be made with the same native display (and therefore the same
connection.)

Signed-off-by: Hal Gentz <zegentzy@protonmail.com>
This commit is contained in:
Hal Gentz 2018-06-18 00:44:38 +00:00 committed by Francesca Frangipane
parent 289fb47a34
commit 042f5fe4b3
2 changed files with 31 additions and 31 deletions

View file

@ -15,6 +15,7 @@
- `EventsLoop::get_available_monitors` and `EventsLoop::get_primary_monitor` now have identical counterparts on `Window`, so this information can be acquired without an `EventsLoop` borrow.
- `AvailableMonitorsIter` now implements `Debug`.
- Fixed quirk on macOS where certain keys would generate characters at twice the normal rate when held down.
- On X11, all event loops now share the same `XConnection`.
# Version 0.15.1 (2018-06-13)