Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
ebf35fd4
Commit
ebf35fd4
authored
May 15, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround for Mac OS, fixes focus after a mouse click.
parent
4fcaf4c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
tool_dispatcher.cpp
common/tool/tool_dispatcher.cpp
+7
-0
No files found.
common/tool/tool_dispatcher.cpp
View file @
ebf35fd4
...
@@ -240,6 +240,13 @@ void TOOL_DISPATCHER::DispatchWxEvent( wxEvent& aEvent )
...
@@ -240,6 +240,13 @@ void TOOL_DISPATCHER::DispatchWxEvent( wxEvent& aEvent )
evt
=
TOOL_EVENT
(
TC_MOUSE
,
TA_MOUSE_MOTION
,
mods
);
evt
=
TOOL_EVENT
(
TC_MOUSE
,
TA_MOUSE_MOTION
,
mods
);
evt
->
SetMousePosition
(
pos
);
evt
->
SetMousePosition
(
pos
);
}
}
#ifdef __APPLE__
// TODO That's a big ugly workaround, somehow DRAWPANEL_GAL loses focus
// after second LMB click and currently I have no means to do better debugging
if
(
type
==
wxEVT_LEFT_UP
)
m_editFrame
->
GetGalCanvas
()
->
SetFocus
();
#endif
/* __APPLE__ */
}
}
// Keyboard handling
// Keyboard handling
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment