Code

fix ctrl+arrow keys not working after startup
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 17 Aug 2009 16:59:56 +0000 (16:59 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 17 Aug 2009 16:59:56 +0000 (16:59 +0000)
src/widgets/desktop-widget.cpp

index 6d9a61329b31e46a734f33d6a2895802c1d5306a..0bf09410ddceeaf58c6768e4154387a51d73c164 100644 (file)
@@ -555,6 +555,8 @@ sp_desktop_widget_init (SPDesktopWidget *dtw)
     gtk_box_pack_start (GTK_BOX (dtw->statusbar), dtw->select_status_eventbox, TRUE, TRUE, 0);
 
     gtk_widget_show_all (dtw->vbox);
+
+    gtk_widget_grab_focus (GTK_WIDGET(dtw->canvas));
 }
 
 /**