Skip to content
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.

rustwlc 0.4.0 for wlc 0.0.2

Compare
Choose a tag to compare
@SnirkImmington SnirkImmington released this 12 May 22:48
· 142 commits to master since this release

This update brings dummy methods for handles to rustwlc. In addition, we have updated and improved a lot of documentation.

Breaking changes

All structs defined in rustwlc are now exported through the crate root. This will probably break your code if use rustwlc::handle::* or use rustwlc::types::* becomes redundant. This is something we should have done a long time ago. Those crates will remain pub to allow these importing methods to remain semi-backwards-compatible.

Non-breaking changes

  • Add #[derive(PartialOrd, Ord)] to WlcView and WlcOutput. These are mostly meant for dummy handles, but can be a heuristic for figuring out if one view handle is older than another.
  • Add WlcView::dummy and WlcOutput::dummy to create handles for testing/debugging purposes.
  • Many wlc methods can be used with these, or with handles when wlc is not running. This is specified in the documentation.