From eac255d8dac99bc25140c8c0a81cad5926ebdefd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 5 Jul 2020 11:26:49 +0200 Subject: Remove redundant focus field from PuglEventMotion --- pugl/detail/mac.m | 1 - pugl/pugl.h | 1 - 2 files changed, 2 deletions(-) (limited to 'pugl') 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; /** -- cgit v1.2.1