diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-03-15 17:44:45 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-03-15 17:44:45 +0000 |
commit | 7137fdb727550eaa08b6044b0e684017f142bc0c (patch) | |
tree | db6ce057b0154b230f470b0b14dc1388e434632b /kde-base/kdelibs/files | |
parent | Dependency update: sys-apps/cpuspeedy -> sys-power/cpuspeedy. (diff) | |
download | gentoo-2-7137fdb727550eaa08b6044b0e684017f142bc0c.tar.gz gentoo-2-7137fdb727550eaa08b6044b0e684017f142bc0c.tar.bz2 gentoo-2-7137fdb727550eaa08b6044b0e684017f142bc0c.zip |
Add patch for bug #82017.
(Portage version: 2.0.51.19)
Diffstat (limited to 'kde-base/kdelibs/files')
-rw-r--r-- | kde-base/kdelibs/files/kdelibs-3.4.0-imagemap.patch | 15 |
1 files changed, 15 insertions, 0 deletions
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(); ++ } + } + } + |