arminfriedl / xcb-wm

Rust implementation of xcb-wm - icccm and ewmh extensions for xcb
MIT License
5 stars 3 forks source link

Changed wait_for_reply and wait_for_reply_unchecked to return a xcb:Result #3

Closed fiorematteo closed 2 years ago

fiorematteo commented 2 years ago

This should fix #1. Returning a Results allows the caller to handle the error.

arminfriedl commented 2 years ago

Thanks for your contribution!

arminfriedl commented 2 years ago

I pushed a new version to crates.io with your changes included