diff options
author | Alex Merry <alex.merry@cs.ox.ac.uk> | 2012-12-12 12:43:18 +0000 |
---|---|---|
committer | Alex Merry <alex.merry@cs.ox.ac.uk> | 2012-12-12 12:43:18 +0000 |
commit | ad869704e6dd52315bff174070e570727e7e8d98 (patch) | |
tree | 7cf7c5f7505dcea20fa6d5b80e70c8685d7f2a27 /tikzit/src/gtk/GraphEditorPanel.m | |
parent | 24c26ce52aa95e4dddfaceb23025a0438ed34350 (diff) |
Allow the graph widget to grab focus
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]; |