From 7137fdb727550eaa08b6044b0e684017f142bc0c Mon Sep 17 00:00:00 2001 From: Gregorio Guidi Date: Tue, 15 Mar 2005 17:44:45 +0000 Subject: Add patch for bug #82017. (Portage version: 2.0.51.19) --- kde-base/kdelibs/files/kdelibs-3.4.0-imagemap.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 kde-base/kdelibs/files/kdelibs-3.4.0-imagemap.patch (limited to 'kde-base/kdelibs/files') diff --git a/kde-base/kdelibs/files/kdelibs-3.4.0-imagemap.patch b/kde-base/kdelibs/files/kdelibs-3.4.0-imagemap.patch new file mode 100644 index 000000000000..84fcd87c666e --- /dev/null +++ b/kde-base/kdelibs/files/kdelibs-3.4.0-imagemap.patch @@ -0,0 +1,15 @@ +diff -Nur kdelibs-3.4.0.orig/khtml/html/html_formimpl.cpp kdelibs-3.4.0/khtml/html/html_formimpl.cpp +--- kdelibs-3.4.0.orig/khtml/html/html_formimpl.cpp 2005-02-23 12:57:04.000000000 +0100 ++++ kdelibs-3.4.0/khtml/html/html_formimpl.cpp 2005-03-15 10:20:50.000000000 +0100 +@@ -1604,6 +1604,11 @@ + m_render->absolutePosition(offsetX,offsetY); + xPos = me->clientX()-offsetX; + yPos = me->clientY()-offsetY; ++ KHTMLView* v = getDocument()->view(); ++ if ( v ) { ++ xPos += v->contentsX(); ++ yPos += v->contentsY(); ++ } + } + } + -- cgit v1.2.3-65-gdbad