From 371e07838d6b23df08acd9870f1479de0ea0fe4c Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 21 Nov 2019 07:08:31 -0800 Subject: [PATCH] tab bar: set mouse to arrow when in tab bar --- src/frontend/gui/termwindow.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/frontend/gui/termwindow.rs b/src/frontend/gui/termwindow.rs index eb6985fd0..7c7cfcf4c 100644 --- a/src/frontend/gui/termwindow.rs +++ b/src/frontend/gui/termwindow.rs @@ -197,7 +197,9 @@ impl WindowCallbacks for TermWindow { // When hovering over a hyperlink, show an appropriate // mouse cursor to give the cue that it is clickable - context.set_cursor(Some(if tab.renderer().current_highlight().is_some() { + context.set_cursor(Some(if self.show_tab_bar && y == 0 { + MouseCursor::Arrow + } else if tab.renderer().current_highlight().is_some() { MouseCursor::Hand } else { MouseCursor::Text