aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-05 11:26:49 +0200
committerDavid Robillard <d@drobilla.net>2020-07-05 16:21:57 +0200
commiteac255d8dac99bc25140c8c0a81cad5926ebdefd (patch)
treedf7acc8285ef53ad5ac4c27356988e380e19f92a
parent02f230d5e6849552daedcb75f4655c66fe8f57df (diff)
Remove redundant focus field from PuglEventMotion
-rw-r--r--pugl/detail/mac.m1
-rw-r--r--pugl/pugl.h1
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;
/**