summaryrefslogtreecommitdiffstats
path: root/www/gtkhtml3/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-21 15:15:32 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-21 15:15:32 +0800
commit084dd5bc56c73216339521a787684b38e1e10380 (patch)
treec7264cdca68b7d60ecb08695dc77b8a75b61c79f /www/gtkhtml3/files
parent0fbec17556cb6530adea6e41dd1fac318e7b31b4 (diff)
downloadmarcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.tar
marcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.tar.gz
marcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.tar.bz2
marcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.tar.lz
marcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.tar.xz
marcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.tar.zst
marcuscom-ports-084dd5bc56c73216339521a787684b38e1e10380.zip
Fix a bug where the cursor would jump to the top of the page after hitting
return inline. See http://bugzilla.ximian.com/show_bug.cgi?id=41481 for more details. Obtained from: GtkHTML CVS git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@679 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/gtkhtml3/files')
-rw-r--r--www/gtkhtml3/files/patch-src_htmlengine.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/gtkhtml3/files/patch-src_htmlengine.c b/www/gtkhtml3/files/patch-src_htmlengine.c
new file mode 100644
index 000000000..440053862
--- /dev/null
+++ b/www/gtkhtml3/files/patch-src_htmlengine.c
@@ -0,0 +1,18 @@
+--- src/htmlengine.c.orig Mon Apr 21 03:08:19 2003
++++ src/htmlengine.c Mon Apr 21 03:08:50 2003
+@@ -4142,6 +4142,7 @@
+ if (e->editable) {
+ html_engine_ensure_editable (e);
+ html_cursor_home (e->cursor, e);
++ e->newPage = FALSE;
+ }
+
+ g_signal_emit (e, signals [LOAD_DONE], 0);
+@@ -4577,6 +4578,7 @@
+ if (editable) {
+ html_engine_ensure_editable (e);
+ html_cursor_home (e->cursor, e);
++ e->newPage = FALSE;
+
+ if (e->have_focus)
+ html_engine_setup_blinking_cursor (e);