X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpanel.cpp;h=97c9ca4f3438d336cc77f1104dcad9e2d379ecf2;hb=3db68f2604b657e79f1b2b317c19c41c2d5a985b;hp=3123db41bccd2dc6036a7fd89a1facfdea593e06;hpb=aba0416fb73e17d068b30ff163c2fedcb0254da2;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)