aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-11-28 23:25:54 +0100
committerThomas White <taw@bitwiz.org.uk>2014-11-28 23:25:54 +0100
commit9feec157ff2d1229a34e2c764e49e594a5080d57 (patch)
tree5d4c2f6a8bf55b0905893576afcbee8254a46b8a /src
parent20913a931c4909949d7a23eb1202d86b86273d04 (diff)
Set focus window
Diffstat (limited to 'src')
-rw-r--r--src/slide_window.c1
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",