# Remove focus filtering from gpui so all focus events result in focus-in and focus-out calls · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/1d8717f4de3ca85cea4977a2a1f482fcfbf932a4)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 1d8717f4de3ca85cea4977a2a1f482fcfbf932a4

Requested commit: 1d8717f4de3ca85cea4977a2a1f482fcfbf932a4

Commit: 1d8717f4de3ca85cea4977a2a1f482fcfbf932a4

Tree: b35324233f550b52e3326c081ead1b1c5fd0fb76

Author: K Simmons

Committer: K Simmons

## Message

```
Remove focus filtering from gpui so all focus events result in focus-in and focus-out calls
Remove pane focused event in favor of focus_in at the workspace level
Added is_child to ViewContext to determine if a given view is a child of the current view
Fix issue where dock would get in a infinite loop when activated after dragging an item out of it
Fix issue where the last focused view in an item was not correctly refocused when a pane is focused after switching active tabs

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>

```

## Parents

- [81a3a2237971a0501f0b8cf03befb601e0ce19ff](https://git.cafe/gitcafe/zed/commit/81a3a2237971a0501f0b8cf03befb601e0ce19ff?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/1d8717f4de3ca85cea4977a2a1f482fcfbf932a4?format=markdown)
