X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fpanel.cpp;h=97c9ca4f3438d336cc77f1104dcad9e2d379ecf2;hb=3d04d550b8ba1336c36f569d924b6b425bfc47f3;hp=3123db41bccd2dc6036a7fd89a1facfdea593e06;hpb=773944863eb52a4d975edcbbb4c7897d2b74fba0;p=libs%2Fgltk.git diff --git a/source/panel.cpp b/source/panel.cpp index 3123db4..97c9ca4 100644 --- a/source/panel.cpp +++ b/source/panel.cpp @@ -156,6 +156,8 @@ void Panel::child_hidden(Widget &wdg) { if(&wdg==pointer_focus) set_pointer_focus(0, 0); + if(&wdg==input_focus) + set_input_focus(0); } void Panel::grab_pointer(Widget &wdg)