From d33084f860514ba854906bda49ea456afeb739d2 Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Thu, 9 Jul 2020 13:50:16 +0200 Subject: [PATCH] Updated to 0.17 --- CHANGELOG.md | 7 +++++++ Cargo.toml | 2 +- README.md | 8 +++++++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf137e8..28e1dea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ This project follows semantic versioning. +### v0.17 (2020-07-09) + +- [changed] unix renamed to posix. (Thanks LoganDark) +- [changed] bunch of Linux/x11 fixes by Antonino Siena. Such as Transparency support, Borderless, Cursor Visibility. Thanks! +- [changed] use `std::ptr::null_mut()` to Windows `PeekMessageW` it fix alt-tab stall on Window 7. Thanks lynnux for the report! +- [added] Implemented std::error::Error for minifb::Error. (Thanks Christofer Nolander!) + ### v0.16 (2020-04-05) - [added] Wayland support. (Big thanks to Antonino Siena add this support with assistance by Cole Helbling!) diff --git a/Cargo.toml b/Cargo.toml index bda01ae..b1bcb6d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "minifb" -version = "0.16.0" +version = "0.17.0" license = "MIT/Apache-2.0" authors = ["Daniel Collin "] description = "Cross-platform window setup with optional bitmap rendering" diff --git a/README.md b/README.md index b8db1db..cf50959 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Usage ```toml # Cargo.toml [dependencies] -minifb = "0.16" +minifb = "0.17" ``` Example @@ -64,6 +64,12 @@ Notice: That after 0.13 Redox hasn't been updated and some work is required to g Build instructions ------------------ +On Linux you may need to install these dependencies first: + +``` +sudo apt install libxkbcommon-dev libwayland-cursor0 libwayland-dev +``` + ``` cargo build cargo run --example noise