Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/114dd37c6ec1a12d2fab752bae57a0d6e206e996
...commit
http://git.netsurf-browser.org/netsurf.git/commit/114dd37c6ec1a12d2fab752bae57a0d6e206e996
...tree
http://git.netsurf-browser.org/netsurf.git/tree/114dd37c6ec1a12d2fab752bae57a0d6e206e996
The branch, master has been updated
via 114dd37c6ec1a12d2fab752bae57a0d6e206e996 (commit)
from 3bf39f7f2ce2807d1960a2a4932ca0dd15eb139e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=114dd37c6ec1a12d2fab752bae57a0d6e206e996
commit 114dd37c6ec1a12d2fab752bae57a0d6e206e996
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>
fix RISC OS corewindows incorrectly becoming visible when scroll extents
are set
diff --git a/frontends/riscos/corewindow.c b/frontends/riscos/corewindow.c
index bc1fb77..2ef05da 100644
--- a/frontends/riscos/corewindow.c
+++ b/frontends/riscos/corewindow.c
@@ -889,7 +889,11 @@ ro_cw_set_scroll(struct core_window *cw, int x, int y)
state.xscroll = x * 2;
state.yscroll = -y * 2;
- ro_cw_open(PTR_WIMP_OPEN(&state));
+ /* only update the window if it is open */
+ if (state.flags & wimp_WINDOW_OPEN) {
+ update_scrollbars(ro_cw, PTR_WIMP_OPEN(&state));
+ }
+
return NSERROR_OK;
}
-----------------------------------------------------------------------
Summary of changes:
frontends/riscos/corewindow.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/frontends/riscos/corewindow.c b/frontends/riscos/corewindow.c
index bc1fb77..2ef05da 100644
--- a/frontends/riscos/corewindow.c
+++ b/frontends/riscos/corewindow.c
@@ -889,7 +889,11 @@ ro_cw_set_scroll(struct core_window *cw, int x, int y)
state.xscroll = x * 2;
state.yscroll = -y * 2;
- ro_cw_open(PTR_WIMP_OPEN(&state));
+ /* only update the window if it is open */
+ if (state.flags & wimp_WINDOW_OPEN) {
+ update_scrollbars(ro_cw, PTR_WIMP_OPEN(&state));
+ }
+
return NSERROR_OK;
}
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]