Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/074afb43f424d671ce6d00b140df851a26f3ddd7
...commit
http://git.netsurf-browser.org/netsurf.git/commit/074afb43f424d671ce6d00b140df851a26f3ddd7
...tree
http://git.netsurf-browser.org/netsurf.git/tree/074afb43f424d671ce6d00b140df851a26f3ddd7
The branch, master has been updated
via 074afb43f424d671ce6d00b140df851a26f3ddd7 (commit)
from 3436c097d2be579440a021fe418d22957db7dbe6 (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=074afb43f424d671ce6d00b140df851a26f3ddd7
commit 074afb43f424d671ce6d00b140df851a26f3ddd7
Author: Chris Young <[email protected]>
Commit: Chris Young <[email protected]>
Process in-window scrollbars using IDCMPUPDATE too
diff --git a/frontends/amiga/corewindow.c b/frontends/amiga/corewindow.c
index 1bfd6c4..548ecac 100644
--- a/frontends/amiga/corewindow.c
+++ b/frontends/amiga/corewindow.c
@@ -689,22 +689,6 @@ ami_cw_event(void *w)
return TRUE;
break;
- case WMHI_GADGETUP:
- switch(result & WMHI_GADGETMASK) {
- case GID_CW_HSCROLL:
- case GID_CW_VSCROLL:
- ami_cw_redraw(ami_cw, NULL);
- break;
-
- default:
- /* pass the event to the window
owner */
- if(ami_cw->event != NULL)
-
if(ami_cw->event(ami_cw, result) == TRUE) {
- return TRUE;
- }
- break;
- }
-
default:
/* pass the event to the window owner */
if(ami_cw->event != NULL)
diff --git a/frontends/amiga/sslcert.c b/frontends/amiga/sslcert.c
index 28f3a4d..2cb3d8e 100644
--- a/frontends/amiga/sslcert.c
+++ b/frontends/amiga/sslcert.c
@@ -33,6 +33,7 @@
#include <gadgets/space.h>
#include <images/label.h>
+#include <intuition/icclass.h>
#include <reaction/reaction_macros.h>
#include "utils/log.h"
@@ -251,11 +252,13 @@ ami_crtvrfy_create_window(struct ami_crtvrfy_window
*crtvrfy_win)
LAYOUT_AddChild,
ami_cw->objects[GID_CW_VSCROLL] = ScrollerObj,
GA_ID, GID_CW_VSCROLL,
GA_RelVerify, TRUE,
+ ICA_TARGET, ICTARGET_IDCMP,
ScrollerEnd,
LayoutEnd,
LAYOUT_AddChild,
ami_cw->objects[GID_CW_HSCROLL] = ScrollerObj,
GA_ID, GID_CW_HSCROLL,
GA_RelVerify, TRUE,
+ ICA_TARGET, ICTARGET_IDCMP,
SCROLLER_Orientation, SORIENT_HORIZ,
ScrollerEnd,
LayoutEnd,
-----------------------------------------------------------------------
Summary of changes:
frontends/amiga/corewindow.c | 16 ----------------
frontends/amiga/sslcert.c | 3 +++
2 files changed, 3 insertions(+), 16 deletions(-)
diff --git a/frontends/amiga/corewindow.c b/frontends/amiga/corewindow.c
index 1bfd6c4..548ecac 100644
--- a/frontends/amiga/corewindow.c
+++ b/frontends/amiga/corewindow.c
@@ -689,22 +689,6 @@ ami_cw_event(void *w)
return TRUE;
break;
- case WMHI_GADGETUP:
- switch(result & WMHI_GADGETMASK) {
- case GID_CW_HSCROLL:
- case GID_CW_VSCROLL:
- ami_cw_redraw(ami_cw, NULL);
- break;
-
- default:
- /* pass the event to the window
owner */
- if(ami_cw->event != NULL)
-
if(ami_cw->event(ami_cw, result) == TRUE) {
- return TRUE;
- }
- break;
- }
-
default:
/* pass the event to the window owner */
if(ami_cw->event != NULL)
diff --git a/frontends/amiga/sslcert.c b/frontends/amiga/sslcert.c
index 28f3a4d..2cb3d8e 100644
--- a/frontends/amiga/sslcert.c
+++ b/frontends/amiga/sslcert.c
@@ -33,6 +33,7 @@
#include <gadgets/space.h>
#include <images/label.h>
+#include <intuition/icclass.h>
#include <reaction/reaction_macros.h>
#include "utils/log.h"
@@ -251,11 +252,13 @@ ami_crtvrfy_create_window(struct ami_crtvrfy_window
*crtvrfy_win)
LAYOUT_AddChild,
ami_cw->objects[GID_CW_VSCROLL] = ScrollerObj,
GA_ID, GID_CW_VSCROLL,
GA_RelVerify, TRUE,
+ ICA_TARGET, ICTARGET_IDCMP,
ScrollerEnd,
LayoutEnd,
LAYOUT_AddChild,
ami_cw->objects[GID_CW_HSCROLL] = ScrollerObj,
GA_ID, GID_CW_HSCROLL,
GA_RelVerify, TRUE,
+ ICA_TARGET, ICTARGET_IDCMP,
SCROLLER_Orientation, SORIENT_HORIZ,
ScrollerEnd,
LayoutEnd,
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org