Skip to content

Commit

Permalink
Release 0.2.1
Browse files Browse the repository at this point in the history
Minor fixes
  • Loading branch information
v1993 committed Oct 18, 2023
1 parent 6d84fa0 commit 7531632
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
![GitHub Actions - Build Status](https://img.shields.io/github/actions/workflow/status/v1993/linuxmotehook2/meson.yml)
[![Ko-Fi](https://img.shields.io/badge/support-Ko--Fi-brightgreen)](https://ko-fi.com/v19930312)

[![AppImage](https://img.shields.io/badge/AppImage-x86__64%2FARM64-blue)](https://github.com/v1993/evdevhook2/releases/latest)
[![AUR git package](https://img.shields.io/badge/aur-linuxmotehook2--git-blue)](https://aur.archlinux.org/packages/linuxmotehook2-git)

## Current features
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('linuxmotehook2', ['c', 'vala'],
version: '0.2.0',
version: '0.2.1',
meson_version: '>= 0.55.0',
default_options: [
'warning_level=2',
Expand Down
5 changes: 2 additions & 3 deletions src/Server.vala
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ namespace Linuxmotehook {
monitor = XWiimote.Monitor.create(true, true);
}
assert_nonnull(monitor);
var io_chan = new IOChannel.unix_new(monitor.get_fd());
io_chan.set_close_on_unref(true);
monitor_source = new IOSource(io_chan, IN);
// No need to close on unref; monitor takes care of it
monitor_source = new IOSource(new IOChannel.unix_new(monitor.get_fd()), IN);
// The following produces a warning, and it is intended
IOFunc cb = add_available_wiimotes;
monitor_source.set_callback(cb);
Expand Down
2 changes: 1 addition & 1 deletion src/main.vala
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ the Free Software Foundation, either version 3 of the License, or
}

if (config.allowlist_mode) {
print("Allowlist mode enabled - only devices with a section in config will be served.\n");
print("Allowlist mode enabled - only Wiimotes with a section in config will be served.\n");
}

activate();
Expand Down

0 comments on commit 7531632

Please sign in to comment.