mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-10 08:51:27 +03:00
temporary workaround for Hyprland/issues/6170
https://github.com/hyprwm/Hyprland/issues/6170
This commit is contained in:
@@ -146,8 +146,8 @@ impl Window {
|
|||||||
let g = &state.g;
|
let g = &state.g;
|
||||||
|
|
||||||
let (width, height) = match pos {
|
let (width, height) = match pos {
|
||||||
Position::Left | Position::Right => (1, size.1 as u32),
|
Position::Left | Position::Right => (2, size.1 as u32),
|
||||||
Position::Top | Position::Bottom => (size.0 as u32, 1),
|
Position::Top | Position::Bottom => (size.0 as u32, 2),
|
||||||
};
|
};
|
||||||
let mut file = tempfile::tempfile().unwrap();
|
let mut file = tempfile::tempfile().unwrap();
|
||||||
draw(&mut file, (width, height));
|
draw(&mut file, (width, height));
|
||||||
|
|||||||
Reference in New Issue
Block a user