[Summary] Made panner to not grad focus when mouse ptr enters

This commit is contained in:
GZharun 2014-09-18 14:52:45 +03:00
parent e4caabf32b
commit 1fe5453c44
2 changed files with 0 additions and 5 deletions

View file

@ -1239,10 +1239,6 @@ Editor::generic_event_handler (GdkEvent* ev)
case GDK_NOTIFY_VIRTUAL:
case GDK_NOTIFY_NONLINEAR:
case GDK_NOTIFY_NONLINEAR_VIRTUAL:
/* leaving window, so reset focus, thus ending any and
all text entry operations.
*/
reset_focus();
break;
}
break;

View file

@ -100,7 +100,6 @@ PannerInterface::~PannerInterface ()
bool
PannerInterface::on_enter_notify_event (GdkEventCrossing *)
{
grab_focus ();
Keyboard::magic_widget_grab_focus ();
return false;
}