way-cooler / rust-wlc

[DEPRECATED] Rust bindings for wlc, the Wayland compositor library
54 stars 12 forks source link

Better debug output for WlcView and WlcOutput #46

Open Timidger opened 8 years ago

Timidger commented 8 years ago

We should list the class and title information for a view, if they are available, as well as the WlcView handle number. It would really help debugging to know which window was associated with which handle and that's either very hard or very impossible to do without this information in the logs.

We need to handle the case where a View is invalid however, and return specifically that the view is invalid (e.g: trying to call one of these methods return null or something)