Green button automation

Note: Before bug reporting, please make sure you have tried the latest (alpha) version of BetterTouchTool and that you have already tried to restart your system :-). If you encounter a crash, please attach a crash log from the macOS Console.app from the "User Diagnostic Reports" section.

Describe the bug
I automated the green button to change behavious and to only max window under cursor. it works, however I seem to be getting a pop up from the gren button with othre options. This only happen 50% of the time

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Green button

Screenshots
If applicable, add screenshots to help explain your problem. (You can just paste or drag them here)
image

Device information:

  • Type of Mac: Macbook Pro m1
  • macOS version: latest 12.2.1
  • BetterTouchTool version: (please post the exact version - not just "the latest one")
    3.743
    Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):

I tried to click the button continuously and only and the 6th click that pop up come out.

this popup is a macOS feature that shows when hovering the mouse over the green button. I think this can not be disabled.

Fortunately the hover menu can be disabled...
defaults write -g NSZoomButtonShowMenu -bool no

Will apply to each app as they get restarted. Easiest to log out to force everything to pick up the change.

From this thread...
https://discussions.apple.com/thread/251640759