Skip to content

fix: emit DisplayFocused event on auto-raise and external focus change#142

Merged
typester merged 1 commit intomainfrom
fix/missing-events
Feb 16, 2026
Merged

fix: emit DisplayFocused event on auto-raise and external focus change#142
typester merged 1 commit intomainfrom
fix/missing-events

Conversation

@typester
Copy link
Copy Markdown
Owner

Auto-raise and external focus changes (Dock, Cmd+Tab) were not emitting DisplayFocused events, causing event subscribers like SketchyBar to not update their active display indicator.

  • mouse_source_callback: update focused_display and emit DisplayFocused
  • observer_source_callback: emit DisplayFocused when focused_display changes

Auto-raise and external focus changes (Dock, Cmd+Tab) were not emitting
DisplayFocused events, causing event subscribers like SketchyBar to not
update their active display indicator.

- mouse_source_callback: update focused_display and emit DisplayFocused
- observer_source_callback: emit DisplayFocused when focused_display changes
@typester typester merged commit b37f43e into main Feb 16, 2026
2 checks passed
@typester typester deleted the fix/missing-events branch February 16, 2026 01:09
@github-actions github-actions Bot mentioned this pull request Feb 15, 2026
typester pushed a commit that referenced this pull request Feb 16, 2026
## 🤖 New release

* `yashiki-ipc`: 0.11.2 -> 0.11.3
* `yashiki`: 0.11.2 -> 0.11.3
* `yashiki-layout-tatami`: 0.11.2 -> 0.11.3
* `yashiki-layout-byobu`: 0.11.2 -> 0.11.3

<details><summary><i><b>Changelog</b></i></summary><p>

## `yashiki-ipc`

<blockquote>

##
[0.11.0](yashiki-ipc-v0.10.7...yashiki-ipc-v0.11.0)
- 2026-02-10

### Fixed

- [**breaking**] rules without --window-level should only match
normal-layer windows
([#132](#132))
</blockquote>

## `yashiki`

<blockquote>

##
[0.11.3](yashiki-v0.11.2...yashiki-v0.11.3)
- 2026-02-16

### Fixed

- emit DisplayFocused event on auto-raise and external focus change
([#142](#142))
</blockquote>

## `yashiki-layout-tatami`

<blockquote>

##
[0.7.3](yashiki-layout-tatami-v0.7.2...yashiki-layout-tatami-v0.7.3)
- 2026-01-20

### Other

- update Cargo.lock dependencies
</blockquote>

## `yashiki-layout-byobu`

<blockquote>

##
[0.7.3](yashiki-layout-byobu-v0.7.2...yashiki-layout-byobu-v0.7.3)
- 2026-01-20

### Other

- update Cargo.lock dependencies
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions github-actions Bot mentioned this pull request Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant