diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-11-28 23:25:54 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-11-28 23:25:54 +0100 |
commit | 9feec157ff2d1229a34e2c764e49e594a5080d57 (patch) | |
tree | 5d4c2f6a8bf55b0905893576afcbee8254a46b8a | |
parent | 20913a931c4909949d7a23eb1202d86b86273d04 (diff) |
Set focus window
-rw-r--r-- | src/slide_window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slide_window.c b/src/slide_window.c index 73bfadb..7f6a879 100644 --- a/src/slide_window.c +++ b/src/slide_window.c @@ -686,6 +686,7 @@ SlideWindow *slide_window_open(struct presentation *p, GApplication *app) GTK_POLICY_AUTOMATIC); gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll), GTK_WIDGET(sw->sceditor)); + gtk_window_set_focus(GTK_WINDOW(window), GTK_WIDGET(sw->sceditor)); /* Size of SCEditor surface in pixels */ g_signal_connect(G_OBJECT(sw->sceditor), "key-press-event", |