diff options
author | DarkDefender <darkdefende@gmail.com> | 2019-01-02 14:04:54 +0100 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-01-02 13:04:54 +0000 |
commit | 9133f4d3272a2795c20936c83cada2c15f599d06 (patch) | |
tree | 3ba34d002d48b5ecc2cfe216ef68c025c1563843 | |
parent | 7275ecc282d29d1c67f700c01a399582ba052853 (diff) | |
download | alacritty-9133f4d3272a2795c20936c83cada2c15f599d06.tar.gz alacritty-9133f4d3272a2795c20936c83cada2c15f599d06.zip |
Use default cursor instead of arrow in mouse mode
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | src/window.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index df645133..a93bf897 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Tabs are no longer replaced by spaces when copying them to the clipboard - Alt modifier is no longer sent separately from the modified key - Various Windows issues, like color support and performance, through the new ConPTY +- Fixed rendering non default mouse cursors in terminal mouse mode (linux) ## Version 0.2.4 diff --git a/src/window.rs b/src/window.rs index ebff59c1..0f401528 100644 --- a/src/window.rs +++ b/src/window.rs @@ -249,7 +249,7 @@ impl Window { #[inline] pub fn set_mouse_cursor(&self, cursor: MouseCursor) { self.window.set_cursor(match cursor { - MouseCursor::Arrow => GlutinMouseCursor::Arrow, + MouseCursor::Arrow => GlutinMouseCursor::Default, MouseCursor::Text => GlutinMouseCursor::Text, }); } |