Comments (12)
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
from lan-mouse.
Thanks for looking , I have made an issue at the Hyprland repo which can be tracked here
from lan-mouse.
This solution tested and works
from lan-mouse.
You can use the patched hyprland-fix branch for now
from lan-mouse.
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.
from lan-mouse.
@Clutchnp has this been fixed upstream because you closed the issue?
from lan-mouse.
Oh mb i closed this by mistake
from lan-mouse.
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 ...
from lan-mouse.
Related Issues (20)
- [Help] I can't use him HOT 12
- client unresponsive after screen goes to sleep HOT 2
- Manual Release required between GNOME and XFCE HOT 3
- How to run it on MacOS HOT 10
- Windows: Input Lost on Elevated Programs HOT 4
- Keyboard focus broken when using Windows Emoji selector (`win+;`) HOT 3
- Some programs with mouse capture (like FPS games) fail to prevent the virtual cursor from moving & leaving the screen HOT 4
- Mouse wheel distance/speed HOT 7
- After upgrade lan mouse version to 0.8.0, Windows side can't access Linux side input HOT 15
- Can't Install on MacOS HOT 7
- Mouse pointer can't return back to Hyprland's surface HOT 3
- Custom global/host hotkeys HOT 3
- Input Capture not working in Plasma 6.1 HOT 19
- 32-bit build fails HOT 2
- Just asking HOT 1
- KDE Request permission for input emulation cancelled immediately with no prompt HOT 3
- Works only one way HOT 1
- BUG: stoped working after upgrading to Plasma 6.1.0 HOT 9
- Can't control from Hyprland Server a Windows Client / Client can control Server HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lan-mouse.