Pet overlay treats press-and-release as a click and unexpectedly focuses Codex

Environment:

  • macOS 27.0 (26A5406e)
  • Codex desktop 26.825.51511, build 7377

Steps to reproduce:

  1. Show the desktop pet.
  2. Press and hold the pet as if preparing to drag it.
  3. Release without moving, or after moving only a few pixels.

Actual result:
Releasing the pointer is treated as a click, so the Codex application unexpectedly opens or gains focus. This causes frequent unwanted context switching while interacting with or repositioning the pet.

Expected result:
A press-and-hold or attempted drag should not trigger the pet’s click action. The click should be cancelled after a short hold duration or once drag intent is detected.

Suggested fixes:

  • Cancel the click after a 200–300 ms hold.
  • Cancel it once pointer movement/drag capture begins.
  • Or provide a setting to disable “Open Codex when pet is clicked.”

This appears to be pet-overlay interaction behavior rather than a custom spritesheet issue.