summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-01-07 20:29:06 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-01-07 20:29:06 +0000
commitdb79f711f8e05e9484deeed640f761d8ddd56f8c (patch)
treea2392748d4a94db5189c77a36f738c3df5f706b0 /gtk2_ardour/mixer_strip.cc
parent669247a4c4d835e80a14d1f9307ba290da03648d (diff)
polygon and marker line for mono panner
git-svn-id: svn://localhost/ardour2/branches/3.0@8476 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r--gtk2_ardour/mixer_strip.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc
index 8f2deb8539..8c6d612012 100644
--- a/gtk2_ardour/mixer_strip.cc
+++ b/gtk2_ardour/mixer_strip.cc
@@ -1922,17 +1922,7 @@ MixerStrip::on_key_release_event (GdkEventKey* ev)
bool
MixerStrip::on_enter_notify_event (GdkEventCrossing*)
{
- Keyboard::magic_widget_grab_focus ();
-
- if (!panners._bar_spinner_active) {
- /* This next grab_focus() causes a focus-out event to be sent to, amongst
- * other things, panner BarControllers. When they receive it, they abort
- * the use of any SpinButton that might be in use to change pan settings.
- * Hence we have this horrific hack which stops the grab_focus () call
- * happening if a bar spinner is active.
- */
- grab_focus ();
- }
+ Keyboard::magic_widget_grab_focus ();
return false;
}