aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-07-26 01:22:42 (GMT)
committermarkt <markt>2006-07-26 01:22:42 (GMT)
commit14efe686cdc8023f9c984fc067206d40b07b2ad5 (patch)
treef81d24f8e4b6e2eb28255d64722995cc9bf3abbb /src/Screen.cc
parent9229f8bc9ceae2505d7715cdea6e75aeb1b2c78b (diff)
downloadfluxbox_pavel-14efe686cdc8023f9c984fc067206d40b07b2ad5.zip
fluxbox_pavel-14efe686cdc8023f9c984fc067206d40b07b2ad5.tar.bz2
added resource and menu item for maximizing over tabs
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 7924984..38ca9ff 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -287,6 +287,7 @@ BScreen::ScreenResource::ScreenResource(FbTk::ResourceManager &rm,
287 altscrname+".overlay.CapStyle"), 287 altscrname+".overlay.CapStyle"),
288 scroll_action(rm, "", scrname+".windowScrollAction", altscrname+".WindowScrollAction"), 288 scroll_action(rm, "", scrname+".windowScrollAction", altscrname+".WindowScrollAction"),
289 scroll_reverse(rm, false, scrname+".windowScrollReverse", altscrname+".WindowScrollReverse"), 289 scroll_reverse(rm, false, scrname+".windowScrollReverse", altscrname+".WindowScrollReverse"),
290 max_over_tabs(rm, false, scrname+".tabs.maxOver", altscrname+".Tabs.MaxOver"),
290 default_internal_tabs(rm, false /* TODO: autoconf option? */ , scrname+".tabs.intitlebar", altscrname+".Tabs.InTitlebar") { 291 default_internal_tabs(rm, false /* TODO: autoconf option? */ , scrname+".tabs.intitlebar", altscrname+".Tabs.InTitlebar") {
291 292
292 293
@@ -1656,6 +1657,9 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) {
1656 _BOOLITEM(*tab_menu,Configmenu, TabsInTitlebar, 1657 _BOOLITEM(*tab_menu,Configmenu, TabsInTitlebar,
1657 "Tabs in Titlebar", "Tabs in Titlebar", 1658 "Tabs in Titlebar", "Tabs in Titlebar",
1658 *resource.default_internal_tabs, save_and_reconftabs); 1659 *resource.default_internal_tabs, save_and_reconftabs);
1660 tab_menu->insert(new BoolMenuItem(_FB_XTEXT(Common, MaximizeOver,
1661 "Maximize Over", "Maximize over this thing when maximizing"),
1662 *resource.max_over_tabs, save_and_reconfigure));
1659 1663
1660 FbTk::MenuItem *tab_width_item = 1664 FbTk::MenuItem *tab_width_item =
1661 new IntResMenuItem(_FB_XTEXT(Configmenu, ExternalTabWidth, 1665 new IntResMenuItem(_FB_XTEXT(Configmenu, ExternalTabWidth,