Skip to content

Track whether the cursor is over the menubar or status bar, and ignore LMB inputs when true - #4810

Merged
SuuperW merged 2 commits into
TASEmulators:masterfrom
SuuperW:mouse-fix
Aug 15, 2026
Merged

Track whether the cursor is over the menubar or status bar, and ignore LMB inputs when true#4810
SuuperW merged 2 commits into
TASEmulators:masterfrom
SuuperW:mouse-fix

Conversation

@SuuperW

@SuuperW SuuperW commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Feels like a bit of a hack, but that's normal for input stuff I guess.

There is still another issue related to mouse + menus: if you click a menu item to open a sub-menu (for example, click "File") then wave your mouse around until it's over the game area but no menus are open, mouse inputs don't work. That input is blocked by FormBase.MenuIsOpen which can block all inputs while a menu is open.

Check if completed:

@SuuperW SuuperW added the App: EmuHawk Relating to EmuHawk frontend label Aug 10, 2026
@SuuperW SuuperW linked an issue Aug 10, 2026 that may be closed by this pull request
Comment thread src/BizHawk.Client.EmuHawk/MainForm.cs Outdated
@YoshiRulz YoshiRulz changed the title fix #4807 Track whether the cursor is over the menubar or status bar, and ignore LMB inputs when true Aug 10, 2026

@YoshiRulz YoshiRulz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works under Mono.

@SuuperW
SuuperW merged commit 09029d8 into TASEmulators:master Aug 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

App: EmuHawk Relating to EmuHawk frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clicking on the bar also results in in-game input

2 participants