RustAudio / baseview

low-level window system interface for audio plugin UIs
Apache License 2.0
266 stars 57 forks source link

Add and refactor events #43

Closed BillyDM closed 4 years ago

BillyDM commented 4 years ago

I made a new pull request that only modifies the event structure.

wrl commented 4 years ago

Also, please rebase on top of master.

BillyDM commented 4 years ago

Also, I am getting this error:


error[E0658]: use of unstable library feature 'option_zip'
  --> src/x11/window.rs:96:14
   |
96 |             .zip(xcb_connection.atoms.wm_delete_window)
   |              ^^^
   |
   = note: see issue #70086 <https://github.com/rust-lang/rust/issues/70086> for more information```
wrl commented 4 years ago

Also, I am getting this error:

error[E0658]: use of unstable library feature 'option_zip'
  --> src/x11/window.rs:96:14
   |
96 |             .zip(xcb_connection.atoms.wm_delete_window)
   |              ^^^
   |
   = note: see issue #70086 <https://github.com/rust-lang/rust/issues/70086> for more information```

Option::zip() is stable as of 1.46.0. You may need to update your toolchain.

BillyDM commented 4 years ago

Oh right