Skip to content

Conversation

@EdenQwQ
Copy link
Member

@EdenQwQ EdenQwQ commented Mar 10, 2022

No description provided.

This was linked to issues Mar 10, 2022
@EdenQwQ EdenQwQ requested review from Shinyzenith, angelofallars and vainiovano and removed request for Shinyzenith March 10, 2022 14:11
src/daemon.rs Outdated
Some((i, Ok(event))) = keyboard_stream_map.next() => {
let keyboard_state = &mut keyboard_states[i];
if let InputEventKind::Key(key) = event.kind() {
if last_hotkey.is_some() && pending_release.is_some() && event.value() == 0 && event.code() == pending_release.as_ref().unwrap().keysym().code() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're checking for event value == 0 anyways, why not put this in the match statement ?

@Shinyzenith
Copy link
Member

I wanted to choose comment type review but the car was shaking, my apologies.

Copy link
Contributor

@angelofallars angelofallars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@EdenQwQ EdenQwQ requested a review from Shinyzenith March 12, 2022 13:01
@Shinyzenith
Copy link
Member

@angelofallars I'm gonna merge since you have already approved this pr.

@Shinyzenith
Copy link
Member

Oh @EdenQwQ would you mind adding some documentation to readme.md?

@Shinyzenith Shinyzenith merged commit e1e2616 into main Mar 13, 2022
@Shinyzenith Shinyzenith deleted the config_devel branch March 13, 2022 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Per-user configuration? Todo: @ and ~ Load multiple config files

4 participants