Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: <hugin-cvs@li...> - 2011-03-01 18:56:12
|
branch: details: http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/hgrepo/h/hu/hugin/hugin/rev/4941adbe2ef7 changeset: 5073:4941adbe2ef7 user: tmodes date: Tue Mar 01 19:55:36 2011 +0100 description: Set explicit focus for main window for GTK Should improve keyboard handling diffstat: src/hugin1/hugin/MainFrame.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diffs (14 lines): diff -r 842824d33b0a -r 4941adbe2ef7 src/hugin1/hugin/MainFrame.cpp --- a/src/hugin1/hugin/MainFrame.cpp Tue Mar 01 19:55:07 2011 +0100 +++ b/src/hugin1/hugin/MainFrame.cpp Tue Mar 01 19:55:36 2011 +0100 @@ -444,6 +444,10 @@ m_mruFiles.UseMenu(GetMenuBar()->GetMenu(0)->FindItem(XRCID("menu_mru"))->GetSubMenu()); m_mruFiles.AddFilesToMenu(); DEBUG_TRACE(""); +#ifdef __WXGTK__ + // set explicit focus to assistant panel for better processing key presses + assistant_panel->SetFocus(); +#endif } MainFrame::~MainFrame() |