Skip to content

Commit

Permalink
Release v1.6.0
Browse files Browse the repository at this point in the history
* Small clippy fix
* Update changelog
* cargo update
  • Loading branch information
timokroeger committed Jul 19, 2023
1 parent 106d043 commit 65b4383
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog

## [Unreleased]
## [1.6.0] - 2023-07-19

- Allow configurations with only one layer
- Fix tray icon disappearing when `explorer.exe` restarts
- Use `windows-sys` crate to build the tray icon menu without any additional abstractions.
- Remove notifications on layer lock (it annoyed me over time).
- Remove tooltip with current layer (never used it).
- Disable any layer locks when re-enabling via double tray icon click or context menu.

## [1.5.1] - 2023-04-15

Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "kbremap"
description = "Custom keyboard layouts for windows"
version = "1.5.1"
version = "1.6.0"
authors = ["Timo Kröger <[email protected]>"]
edition = "2021"
license = "MIT/Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/winapi/tray_icon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fn add_tray_icon(hwnd: HWND) {
notification_data.uFlags = NIF_MESSAGE | NIF_ICON;
notification_data.uCallbackMessage = WM_USER;
notification_data.hIcon = userdata(hwnd).icon;
unsafe { Shell_NotifyIconA(NIM_ADD, &mut notification_data) };
unsafe { Shell_NotifyIconA(NIM_ADD, &notification_data) };
}

fn notification_data(hwnd: HWND) -> NOTIFYICONDATAA {
Expand Down

0 comments on commit 65b4383

Please sign in to comment.