diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | dw/fltkviewbase.cc | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -15,6 +15,7 @@ dillo-2.1 - Made cookierc parsing more robust. - Switched a_UIcmd_save() to take its URL from history (not location bar). - Set prefs.vw_fontname as deafult font for the UI. + - Fix: recover page focus when clicking-out of a widget. Patches: place (AKA corvid) +- Switched SSL-enabled to configure.in (./configure --enable-ssl). - Standardised the installation of dpid/dpidrc with auto* tools. diff --git a/dw/fltkviewbase.cc b/dw/fltkviewbase.cc index a282efd8..6e0f5bd7 100644 --- a/dw/fltkviewbase.cc +++ b/dw/fltkviewbase.cc @@ -204,6 +204,10 @@ int FltkViewBase::handle (int event) translateViewYToCanvasY (event_y ()), getDwButtonState (), event_button ()); //printf ("PUSH => %s\n", processed ? "true" : "false"); + if (processed) { + /* pressed dw content; fltk widgets should no longer have focus */ + ::fltk::focus(NULL); + } return processed ? true : Group::handle (event); case RELEASE: |