Compare commits

..

3 Commits

Author SHA1 Message Date
Ferdinand Schober
bae52eb9e7 chore: Release lan-mouse version 0.3.2 2023-09-21 13:23:45 +02:00
Ferdinand Schober
0fbd09b07f fix 1px gap 2023-09-21 13:22:23 +02:00
Ferdinand Schober
96dd9c05a1 fix interference with swaybar 2023-09-21 12:57:51 +02:00
3 changed files with 6 additions and 6 deletions

2
Cargo.lock generated
View File

@@ -675,7 +675,7 @@ checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
[[package]]
name = "lan-mouse"
version = "0.3.1"
version = "0.3.2"
dependencies = [
"anyhow",
"env_logger",

View File

@@ -1,7 +1,7 @@
[package]
name = "lan-mouse"
description = "Software KVM Switch / mouse & keyboard sharing software for Local Area Networks"
version = "0.3.1"
version = "0.3.2"
edition = "2021"
license = "GPL-3.0-or-later"
repository = "https://github.com/ferdinandschober/lan-mouse"

View File

@@ -128,7 +128,7 @@ impl Window {
let layer_surface = g.layer_shell.get_layer_surface(
&surface,
Some(&output),
Layer::Top,
Layer::Overlay,
"LAN Mouse Sharing".into(),
qh,
(),
@@ -142,8 +142,8 @@ impl Window {
layer_surface.set_anchor(anchor);
layer_surface.set_size(width, height);
layer_surface.set_exclusive_zone(0);
layer_surface.set_margin(0, 0, 0, 0);
layer_surface.set_exclusive_zone(-1);
layer_surface.set_margin(0,0,0,0);
surface.set_input_region(None);
surface.commit();
Window {
@@ -196,7 +196,7 @@ fn draw(f: &mut File, (width, height): (u32, u32)) {
let mut buf = BufWriter::new(f);
for _ in 0..height {
for _ in 0..width {
buf.write_all(&0x44FbF1C7u32.to_ne_bytes()).unwrap();
buf.write_all(&0x00000000u32.to_ne_bytes()).unwrap();
}
}
}