diff options
author | Tuomas Siipola <siiptuo@kapsi.fi> | 2017-02-22 22:46:08 +0200 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-02-22 14:49:29 -0800 |
commit | 3cc27a4d767a87c617b5213810dfce254bac1131 (patch) | |
tree | 097880f8bdac7e9a38014a18f1560c32cc38bd39 /src/display.rs | |
parent | 7bb49fabfa0d2686e4e74c1c11362d6b6aade1ca (diff) | |
download | alacritty-3cc27a4d767a87c617b5213810dfce254bac1131.tar.gz alacritty-3cc27a4d767a87c617b5213810dfce254bac1131.zip |
Set cursor only when its visibility changes
Diffstat (limited to 'src/display.rs')
-rw-r--r-- | src/display.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display.rs b/src/display.rs index bdb5274c..3d13f465 100644 --- a/src/display.rs +++ b/src/display.rs @@ -231,8 +231,8 @@ impl Display { self.tx.clone() } - pub fn window(&self) -> &Window { - &self.window + pub fn window(&mut self) -> &mut Window { + &mut self.window } /// Process pending resize events |