# gpui: Add API for read and write active drag cursor style \(\#32028\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 10df7b5eb904ef2930e9b1aadc421adff9b91188

Requested commit: 10df7b5eb904ef2930e9b1aadc421adff9b91188

Commit: 10df7b5eb904ef2930e9b1aadc421adff9b91188

Tree: 7041e33a71bccd29b04457ea8954b93d3c56ce2f

Author: Smit Barmase

Committer: GitHub

## Message

```
gpui: Add API for read and write active drag cursor style (#32028)

Prep for https://github.com/zed-industries/zed/pull/32040

Currently, there’s no way to modify the cursor style of the active drag
state after dragging begins. However, there are scenarios where we might
want to change the cursor style, such as pressing a modifier key while
dragging. This PR introduces an API to update and read the current
active drag state cursor.

Release Notes:

- N/A
```

## Parents

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

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