-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hyprland not working with 1px shell surface #135
Comments
That's a Hyprland regression (something with the pointer constraints by the looks of things). Please report there and link the issue here. A crash should be easy to fix. |
Thanks for looking , I have made an issue at the Hyprland repo which can be tracked here |
I only see this behavior when using the stable version of Hyprland. There are no crashes when using the git version, but on git version I can't move the cursor if the other computer's location is set to [left] or [top], only [bottom] and [right] works. That's clearly a regression cause on hyprland 0.39.1 it works great |
This solution tested and works |
@Clutchnp has this been fixed upstream because you closed the issue? |
Oh mb i closed this by mistake |
diff --git a/src/capture/wayland.rs b/src/capture/wayland.rs
index 9f2b82c..1aac930 100644
--- a/src/capture/wayland.rs
+++ b/src/capture/wayland.rs
@@ -146,8 +146,8 @@ impl Window {
let g = &state.g;
let (width, height) = match pos {
- Position::Left | Position::Right => (1, size.1 as u32),
- Position::Top | Position::Bottom => (size.0 as u32, 1),
+ Position::Left | Position::Right => (2, size.1 as u32),
+ Position::Top | Position::Bottom => (size.0 as u32, 2),
};
let mut file = tempfile::tempfile().unwrap();
draw(&mut file, (width, height)); Temporary workaround. I could upstream this but I'd rather get it fixed in Hyprland ... |
You can use the patched hyprland-fix branch for now |
|
Waiting for #6027 to be merged, until then you can hyprland-fix-branch of lan-mouse |
With #6027 merged this should be resolved thanks everyone !! |
Yes can confirm! Thanks everyone for your patience ;). |
hyprlandCrashReport621782.txt
While capturing input if mouse is taken to the edge of the screen hyprland crashes
The text was updated successfully, but these errors were encountered: