-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When capturing the mouse on Debian Linux (Stable, using Xorg), the mouse captures movement but not clicks. Clicks do go through to the emulator's menu, even when captured, but not to the emulated machine.
To Reproduce
- Load mouse-enabled application (I'm using Windows 3.0) in MartyPC
- Capture mouse
- Attempt to move, notice mouse cursor is moving
- Attempt to click, notice no reaction
Expected behavior
Clicking should work properly
Environment (please complete the following information):
- Linux/Debian 12 "bookworm" (Stable)
- i5-1235U
- Integrated Iris Xe (in i5-1235U CPU)
Build info
- Built from version_0_2_3 on October 19th, 2024
Additional context
A test patch was applied, with the below added above line 122 in frontends/martypc_desktop_wgpu/src/event_loop/mod.rs. This caused all menu clicks to no longer work, and did not fix clicks in the emulated machine.
WindowEvent::MouseInput { .. } => {
if emu.mouse_data.is_captured {
pass_to_egui = false;
}
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working