- Updated cursor position patch from tagoh to fix issue with "jumping"

cursor when in a textfield with tabs.
This commit is contained in:
Christopher Aillon 2007-01-31 04:54:42 +00:00
parent c8ddce2a85
commit 95d9d9320d
2 changed files with 6 additions and 2 deletions

View File

@ -10,7 +10,7 @@ diff -pruN -x '.moz*' -x .deps -x 'firefox*' -x '*.mk' -x 'config*' -x dist -x b
- // no need to re-measure when at the end of the last-in-flow - // no need to re-measure when at the end of the last-in-flow
- } - }
+ if (hitLength > 0) + if (hitLength > 0)
+ inRendContext->GetRangeWidth(paintBuffer.mBuffer, mContentLength, 0, hitLength, (PRUint32&)width); + inRendContext->GetRangeWidth(paintBuffer.mBuffer, textLength, 0, hitLength, (PRUint32&)width);
else else
- inRendContext->GetWidth(paintBuffer.mBuffer, hitLength, width); - inRendContext->GetWidth(paintBuffer.mBuffer, hitLength, width);
+ width = 0; + width = 0;

View File

@ -8,7 +8,7 @@
Summary: Mozilla Thunderbird mail/newsgroup client Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird Name: thunderbird
Version: 1.5.0.9 Version: 1.5.0.9
Release: 6%{?dist} Release: 7%{?dist}
URL: http://www.mozilla.org/projects/thunderbird/ URL: http://www.mozilla.org/projects/thunderbird/
License: MPL License: MPL
Group: Applications/Internet Group: Applications/Internet
@ -275,6 +275,10 @@ update-desktop-database %{_datadir}/applications
#=============================================================================== #===============================================================================
%changelog %changelog
* Tue Jan 30 2007 Christopher Aillon <caillon@redhat.com> 1.5.0.9-7
- Updated cursor position patch from tagoh to fix issue with "jumping"
cursor when in a textfield with tabs.
* Tue Jan 30 2007 Christopher Aillon <caillon@redhat.com> 1.5.0.9-6 * Tue Jan 30 2007 Christopher Aillon <caillon@redhat.com> 1.5.0.9-6
- Fix the DND implementation to not grab, so it works with new GTK+. - Fix the DND implementation to not grab, so it works with new GTK+.