aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-10-05 01:25:59 +0200
committerjcid <devnull@localhost>2008-10-05 01:25:59 +0200
commitacac1e2b0b0d88e02512344b3d3650e31e161122 (patch)
tree5197617f5a3f9a8c9bb6601e757d469383315007
parent338604dc77ad71b20c7aeee8111cb92080bf9908 (diff)
- Avoided focus change with {Left, Right} in CustTabGroup
-rw-r--r--src/uicmd.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index 81156f57..9918fe04 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -73,6 +73,8 @@ public:
selected_child(child(i));
return 1;
}
+ // Avoid focus change.
+ return 0;
}
}
return TabGroup::handle(e);
@@ -169,6 +171,7 @@ BrowserWindow *a_UIcmd_browser_window_new(int ww, int wh, const void *vbw)
win->clear_double_buffer();
win->set_flag(RAW_LABEL);
CustTabGroup *DilloTabs = new CustTabGroup(0, 0, ww, wh);
+ DilloTabs->clear_tab_to_focus();
DilloTabs->selection_color(156);
win->add(DilloTabs);