From 6e364e4c80416189ec8e1ef478497d13de14140f Mon Sep 17 00:00:00 2001 From: heckflosse Date: Mon, 22 Apr 2019 21:18:44 +0200 Subject: [PATCH] First doubleclick on an image after starting rt does not open the image. Patch provided by @Pandagrapher, fixes #5294 --- rtgui/thumbbrowserbase.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/thumbbrowserbase.cc b/rtgui/thumbbrowserbase.cc index 334f00e51..fd7032931 100644 --- a/rtgui/thumbbrowserbase.cc +++ b/rtgui/thumbbrowserbase.cc @@ -788,7 +788,7 @@ bool ThumbBrowserBase::Internal::on_key_press_event (GdkEventKey* event) bool ThumbBrowserBase::Internal::on_button_press_event (GdkEventButton* event) { // Gtk signals automatically acquire the GUI (i.e. this method is enclosed by gdk_thread_enter and gdk_thread_leave) - grab_focus (); + //grab_focus (); parent->eventTime = event->time;