# linux: Fix cursor-related panic on Wayland \(\#29060\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4405ed04d093b602ddbed745a33335c4fec29c61

Requested commit: 4405ed04d093b602ddbed745a33335c4fec29c61

Commit: 4405ed04d093b602ddbed745a33335c4fec29c61

Tree: 947e621d3b4986ae3d552b188d60a03b6019d46f

Author: Oleksiy Syvokon

Committer: GitHub

## Message

````
linux: Fix cursor-related panic on Wayland (#29060)

This fixes the panic that happened in debug builds in Wayland when
focusing/defocusing window in the edit mode:

```
"Thread "main" panicked with "CursorStyle::None should be handled separately in the client" at crates/gpui/src/platform/linux/wayland.rs:40:17"
```

Full log:
[stacktrace.txt](https://github.com/user-attachments/files/19814411/stacktrace.txt)

@smitbarmase, you seem to have worked on this code. Tagging you for
visibility :)

Release Notes:

- N/A
````

## Parents

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

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