meh / rust-xcb-util

Rust bindings and wrappers for XCB utility functions.
MIT License
27 stars 17 forks source link

segfault: get_wm_window_type() returning error wrapping null pointer #15

Open ghost opened 3 years ago

ghost commented 3 years ago

See the issue i'm tracking on my project here for details: https://github.com/grufwub/afwm/issues/7

The issue is the returned result from ewmh::get_wm_window_type() can be an error wrapping a null pointer, which segfaults as soon as you try to access the error.