I honestly have no idea what could be causing this. Are you using a mouse or trackpad? Could you share your on_input() function and your input bindings?
I found this sometimes happens because the dmengine window is somehow not fully focused. Look at the title bar. Is it grayed out? If yes, cmd-tab to some other app, then cmd-tab back.
Not really. The first click doesn’t give focus to the engine, that’s the rub. So, subsequent clicks act the same unless you cmd-tab in and out. It’s just weird. Don’t know what might be causing it.
dmengine appears as the current app in macOS’s status bar, but its window is not focused and clicking it doesn’t give it focus.
Ok, thanks for the additional info. I have never experienced this myself and I haven’t heard of anyone here at the office either. Do you have some other software that might interfere when new windows are opened?
Ok, and you have only one input binding, MOUSE_BUTTON_LEFT? Or do you have MOUSE_BUTTON_1? And does it also not happen all of the time for you? Is there anything you can think of in your setup that might cause this? Are you using a trackpad, mouse or some other input device?