summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-11-10 15:08:49 +0100
committerjcid <devnull@localhost>2008-11-10 15:08:49 +0100
commit9a5d37c01b81278b43ea1b510acc93a713f0df6a (patch)
treea3883d13560f0ee14594e263e5aa6c8c6e1e5d25
parent738baf46845187b39922573816922281ca276f14 (diff)
- Fix: recover page focus when clicking-out of a widget.
-rw-r--r--ChangeLog1
-rw-r--r--dw/fltkviewbase.cc4
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 16c88689..6e2e78f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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: