RustAudio / baseview

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

Add error checking on X11 window creation, and fix parented X11 window creation #113

Closed prokopyl closed 2 years ago

prokopyl commented 2 years ago

This PR fixes creation of parented windows on X11 by using the parent's visual instead of the screen root's one, and also uses xcb::create_window_checked to ensure any error is caught and displayed.

robbert-vdh commented 2 years ago

This parent visual change also seems to fix the embedding in REAPER.