summaryrefslogtreecommitdiff
path: root/frontends/amiga/corewindow.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2017-01-01 16:45:27 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2017-01-01 16:45:27 +0000
commiteb1f39fe7d80893b1f7c804eb48ec61e89f17d78 (patch)
tree1badecab09f258951ce442d8ed65e1fd55803e7c /frontends/amiga/corewindow.h
parent31c08f39be64f739cac727ab5a13fc513d1a61aa (diff)
downloadnetsurf-eb1f39fe7d80893b1f7c804eb48ec61e89f17d78.tar.gz
netsurf-eb1f39fe7d80893b1f7c804eb48ec61e89f17d78.tar.bz2
Process mouse moves and qualifier keys
NB: we are doing mouse moves differently by using an IDCMP hook on space.gadget, as this gives us co-ordinates relative to the render area GID_DRAW object when the window is defined will need tagging ICA_TARGET, ICTARGET_IDCMP
Diffstat (limited to 'frontends/amiga/corewindow.h')
-rw-r--r--frontends/amiga/corewindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/amiga/corewindow.h b/frontends/amiga/corewindow.h
index 3c27e5126..fae5658d3 100644
--- a/frontends/amiga/corewindow.h
+++ b/frontends/amiga/corewindow.h
@@ -50,6 +50,8 @@ struct ami_corewindow {
Object *objects[GID_CW_LAST];
struct Hook idcmp_hook;
+ struct timeval lastclick;
+ int mouse_state;
/** stuff for our off-screen render bitmap */
struct gui_globals gg;