keybinds without input-only windows #13
Loading…
Reference in a new issue
No description provided.
Delete branch "hungl/xcrab:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
sorry I reverted to a commit from a long time ago
but it works now
33c1cc80b6
"make destroying focused client actually work"Can you put the config and keybind stuff back in? I'll merge it then
okay
keybinds without input-only windowsto WIP: keybinds without input-only windowsPlease see to all of my comments. I won't merge it until then.
@ -164,4 +219,3 @@
}
}
#[allow(clippy::too_many_lines)] // FIXME: missing help i have no idea how to make this shorter
Why did you remove this line?
no idea
probably happened because of the revert
I'll add it back
@ -92,3 +92,1 @@
Self::Toml(te) => Display::fmt(te, f)?,
Self::Var(ve) => Display::fmt(ve, f)?,
Self::Custom(fe) => Display::fmt(fe, f)?,
Self::Bread(be) => Display::fmt(&be, f)?,
Why did you turn these into references?
accident, probably
I'll fix it
@ -139,3 +141,2 @@
let (send, mut recv) = mpsc::unbounded_channel();
let (result_send, result_recv) = mpsc::unbounded_channel();
let mut mask = ModMask::new(false, false, true, false, false, false, false, false, false);
Why is the third value
true
here?AFAIK the third param is Control, which definitely shouldn't be set by default, unless I'm misunderstanding what this code does
Nevermind, it seems to work anyway, so this is fine. Please see my other comments though.
@ -29,4 +23,3 @@
pub struct XcrabMsgConfig {
pub socket_path: PathBuf,
}
Why did you remove all the empty lines in this file?
MOST PROBABLY
cargo fmt
, but I'm not 100% sureRustfmt does not just delete every blank line, unless your rustfmt config is super messed up for some reason.
in that case, I have absolutely no idea why
@ -1,67 +1,47 @@
// Copyright (C) 2022 Infoshock Tech
Why did you remove all the empty lines in this file?
MOST PROBABLY
cargo fmt
, but I'm not 100% sureMore small changes, should be easy enough
@ -166,2 +221,3 @@
#[allow(clippy::too_many_lines)] // FIXME: missing help i have no idea how to make this shorter
#[allow(clippy::too_many_lines)]
Please remove this blank line
@ -297,2 +284,4 @@
Ok(())
}
// I will move this to x11/client.rs eventually
Can you move this right now before I merge?
WIP: keybinds without input-only windowsto keybinds without input-only windowsLGTM