Skip to content

macOS: Split focus moves around when clicking in the active split #12266

@bo2themax

Description

@bo2themax

Discussed in #12018

Originally posted by senilio March 31, 2026

Issue Description

What happens is that once I create 3 splits, and trigger an "Equalize Splits" command OR manually resize the leftmost split border, clicking in the right-most split will alter the focus between the right and the middle split. See attached screen recording for a demonstration of the issue.

screen-recording-ghostty.mov

Expected Behavior

I expect that a click in the active split will not alter focus.

Actual Behavior

What happens is that once the bug is triggered, focus moves around when clicking in the active split.

Reproduction Steps

Open ghostty
Create 2 splits
Drag left split border to the left, or trigger Equalize Splits
Click in the left side of the right split and watch the focus jump around

Ghostty Logs

No response

Ghostty Version

Ghostty 1.3.2-main+20cfaae2e

Version
  - version: 1.3.2-main+20cfaae2e
  - channel: tip
Build Config
  - Zig version   : 0.15.2
  - build mode    : .ReleaseFast
  - app runtime   : .none
  - font engine   : .coretext
  - renderer      : renderer.generic.Renderer(renderer.Metal)
  - libxev        : kqueue

OS Version Information

Tahoe 26.3.1

(Linux only) Display Server

None

(Linux only) Desktop Environment/Window Manager

No response

Minimal Ghostty Configuration

Error is reproducible without config

Additional Relevant Configuration

No response

I acknowledge that:

  • I have reviewed the FAQ and confirm that my issue is NOT among them.
  • I have searched the Ghostty repository (both open and closed Discussions and Issues) and confirm this is not a duplicate of an existing issue or discussion.
  • I have checked the "Preview" tab on all text fields to ensure that everything looks right, and have wrapped all configuration and code in code blocks with a group of three backticks (```) on separate lines.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions