diff options
author | David Robillard <d@drobilla.net> | 2020-07-05 11:26:49 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-05 16:21:57 +0200 |
commit | eac255d8dac99bc25140c8c0a81cad5926ebdefd (patch) | |
tree | df7acc8285ef53ad5ac4c27356988e380e19f92a /pugl | |
parent | 02f230d5e6849552daedcb75f4655c66fe8f57df (diff) | |
download | pugl-eac255d8dac99bc25140c8c0a81cad5926ebdefd.tar.gz pugl-eac255d8dac99bc25140c8c0a81cad5926ebdefd.tar.bz2 pugl-eac255d8dac99bc25140c8c0a81cad5926ebdefd.zip |
Remove redundant focus field from PuglEventMotion
Diffstat (limited to 'pugl')
-rw-r--r-- | pugl/detail/mac.m | 1 | ||||
-rw-r--r-- | pugl/pugl.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m index 6ede4f8..1139bc8 100644 --- a/pugl/detail/mac.m +++ b/pugl/detail/mac.m @@ -380,7 +380,6 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type) [[NSScreen mainScreen] frame].size.height - rloc.y, getModifiers(event), 0, - 1, }; puglDispatchEvent(puglview, (const PuglEvent*)&ev); diff --git a/pugl/pugl.h b/pugl/pugl.h index 3e1926a..13d8801 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -459,7 +459,6 @@ typedef struct { double yRoot; ///< Root-relative Y coordinate PuglMods state; ///< Bitwise OR of #PuglMod flags bool isHint; ///< True iff this event is a motion hint - bool focus; ///< True iff this is the focused view } PuglEventMotion; /** |