diff options
Diffstat (limited to 'tikzit/src/gtk/GraphEditorPanel.m')
-rw-r--r-- | tikzit/src/gtk/GraphEditorPanel.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tikzit/src/gtk/GraphEditorPanel.m b/tikzit/src/gtk/GraphEditorPanel.m index 922322e..542dba1 100644 --- a/tikzit/src/gtk/GraphEditorPanel.m +++ b/tikzit/src/gtk/GraphEditorPanel.m @@ -45,7 +45,7 @@ surface = [[WidgetSurface alloc] init]; [surface setDefaultScale:50.0f]; [surface setKeepCentered:YES]; - [surface setGrabsFocusOnClick:YES]; + [surface setCanFocus:YES]; renderer = [[GraphRenderer alloc] initWithSurface:surface document:document]; inputHandler = [[GraphInputHandler alloc] initForPanel:self]; |