From dbce9dbdf16b7d8afc8e0c1b6166b26221e1466f Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Sat, 31 Dec 2016 01:33:08 -0500 Subject: Single click navigation: keep hand cursor when opening folder... and it comes to rest on a new folder displayed in the same icon position. Note that this is only in single click navigation, as double clicking always reverts the cursor to the arrow Same as GNOME/nautilus commit https://git.gnome.org/browse/nautilus/commit/?id=d486af277f491ff5cfcfa254ebce618cd41a3edb --- eel/eel-canvas.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'eel') diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index 97aad908..4f040074 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -2877,9 +2877,11 @@ eel_canvas_button (GtkWidget *widget, GdkEventButton *event) /* Pick the current item as if the button were not pressed, and * then process the event. */ + event->state ^= mask; canvas->state = event->state; pick_current_item (canvas, (GdkEvent *) event); - canvas->state ^= mask; + event->state ^= mask; + canvas->state = event->state; retval = emit_event (canvas, (GdkEvent *) event); break; -- cgit v1.2.1