From: Mikko Rasa Date: Fri, 2 Sep 2016 22:07:33 +0000 (+0300) Subject: Pass List::focus_in to base class X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=35f6cfcfb7a7278251d890988fdf6a6bbf793ef8;p=libs%2Fgltk.git Pass List::focus_in to base class It sets the FOCUS flag in state, which is then checked to determine whether to focus items. --- diff --git a/source/list.cpp b/source/list.cpp index 5a9f749..a9cbcc1 100644 --- a/source/list.cpp +++ b/source/list.cpp @@ -314,6 +314,7 @@ void List::touch_motion(int, int y, unsigned finger) void List::focus_in() { + Container::focus_in(); if(focus_index>=0 && items[focus_index]->is_visible()) set_input_focus(items[focus_index]); else