Skip to content

MacOS: Mouse not working when running ImGui in an embedded window #113

@bbbscarter

Description

@bbbscarter

Running on Godot 4.5 on MacOS 26 on a MacBook with a retina display.

Repro:

  • Grab demo project from this repo and open the project.
  • Under Game/Embedding Options, untick 'Embed Game on Next Play'.
  • Run the demo. Note everything works as expected.
  • Under Game/Embedding Options, tick 'Embed Game on Next Play'.
  • Rerun the demo. Note that the mouse cursor is not tracked properly, and click events don't register correctly.

I've checked on Windows, where it seems to work correctly. AFAIK Mac currently does game embedding differently to Windows, which might be the source of the divergence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions