Issue with Window Moving/Resizing with the Godot Engine

Describe the bug
I’m a huge fan of BTT’s feature of Window Moving/Resizing with just the mouse while holding down a keyboard shortcut. It seems to work great in every app except, for whatever reason, in the Godot Game Engine, where resizing it with the keyboard shortcut seems to cause a huge amount of stuttering and is not reliable whatsoever.

This is the only app I’ve ever encountered this issue on. It also happens to be an app I use very heavily, and crucially, an open-source app. I figured that, if this is an issue with Godot’s source code, I might have a go at contributing a fix to the repo, but it would be nice to see if others can reproduce the same issue.

In case it’s okay to share this info, how is the window resizing/moving via shortcut implemented? What could be the cause of this issue with Godot? Again, this is the only app I’ve ever encountered this issue in, so it’s probably Godot doing something weird, but it would be helpful to know where to start looking at in the source code of that application.

Or can this maybe be accounted for in BTT’s code somehow?

Screenshot:

Device information:

  • Type of Mac: MacBook Pro M1 Pro
  • macOS version: Tahoe 26.3
  • BetterTouchTool version: 6.183
  • Godot version: 4+

BetterTouchTool (and all other window moving / resizing apps) use the macOS Accessibility API via AXUIElementSetAttributeValue to change size/position. Unfortunately especially cross-platform apps sometimes don't implement these accessibility APIs correctly because they don't use the standard macOS windows that support these by default.