diff options
author | David Robillard <d@drobilla.net> | 2020-07-05 15:01:13 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-05 18:47:39 +0200 |
commit | 90abfef17294c1b382f43007d984b93c200efa9d (patch) | |
tree | d8290397997ac31d7f9b9b565cd16ee88c11f937 /pugl/detail/win.c | |
parent | 6c2460414082b989487abcad2ca2018a16ecdbd7 (diff) | |
download | pugl-90abfef17294c1b382f43007d984b93c200efa9d.tar.gz pugl-90abfef17294c1b382f43007d984b93c200efa9d.tar.bz2 pugl-90abfef17294c1b382f43007d984b93c200efa9d.zip |
Replace isHint bool with a flag
I don't have any particular future use case in mind, but I think the concept
makes sense for general events and it seems it could be useful for things like
gestures as well. Also fixes another padding warning in the API.
Diffstat (limited to 'pugl/detail/win.c')
-rw-r--r-- | pugl/detail/win.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pugl/detail/win.c b/pugl/detail/win.c index ee690c4..7ec02ab 100644 --- a/pugl/detail/win.c +++ b/pugl/detail/win.c @@ -639,7 +639,6 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam) event.motion.xRoot = pt.x; event.motion.yRoot = pt.y; event.motion.state = getModifiers(); - event.motion.isHint = false; break; case WM_MOUSELEAVE: GetCursorPos(&pt); |