summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Screen.cc17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 8b81529..a6e5e84 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -292,7 +292,7 @@ BScreen::ScreenResource::ScreenResource(FbTk::ResourceManager &rm,
292 max_disable_move(rm, false, scrname+".maxDisableMove", altscrname+".MaxDisableMove"), 292 max_disable_move(rm, false, scrname+".maxDisableMove", altscrname+".MaxDisableMove"),
293 max_disable_resize(rm, false, scrname+".maxDisableResize", altscrname+".MaxDisableResize"), 293 max_disable_resize(rm, false, scrname+".maxDisableResize", altscrname+".MaxDisableResize"),
294 workspace_warping(rm, true, scrname+".workspacewarping", altscrname+".WorkspaceWarping"), 294 workspace_warping(rm, true, scrname+".workspacewarping", altscrname+".WorkspaceWarping"),
295 show_window_pos(rm, true, scrname+".showwindowposition", altscrname+".ShowWindowPosition"), 295 show_window_pos(rm, false, scrname+".showwindowposition", altscrname+".ShowWindowPosition"),
296 auto_raise(rm, true, scrname+".autoRaise", altscrname+".AutoRaise"), 296 auto_raise(rm, true, scrname+".autoRaise", altscrname+".AutoRaise"),
297 click_raises(rm, true, scrname+".clickRaises", altscrname+".ClickRaises"), 297 click_raises(rm, true, scrname+".clickRaises", altscrname+".ClickRaises"),
298 default_deco(rm, "NORMAL", scrname+".defaultDeco", altscrname+".DefaultDeco"), 298 default_deco(rm, "NORMAL", scrname+".defaultDeco", altscrname+".DefaultDeco"),
@@ -1629,12 +1629,12 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) {
1629 cerr<<e.what()<<endl; 1629 cerr<<e.what()<<endl;
1630 } 1630 }
1631 1631
1632 focus_menu->insert(new FbTk::BoolMenuItem(_FB_XTEXT(Configmenu, 1632 _BOOLITEM(*focus_menu, Configmenu, AutoRaise,
1633 AutoRaise, 1633 "Auto Raise", "Auto Raise windows on sloppy",
1634 "Auto Raise", 1634 resource.auto_raise, saverc_cmd);
1635 "Auto Raise windows on sloppy"), 1635 _BOOLITEM(*focus_menu, Configmenu, ClickRaises,
1636 resource.auto_raise, 1636 "Click Raises", "Click Raises",
1637 save_and_reconfigure)); 1637 resource.click_raises, saverc_cmd);
1638 1638
1639 focus_menu->updateMenu(); 1639 focus_menu->updateMenu();
1640 1640
@@ -1801,9 +1801,6 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) {
1801 "Workspace Warping", 1801 "Workspace Warping",
1802 "Workspace Warping - dragging windows to the edge and onto the next workspace", 1802 "Workspace Warping - dragging windows to the edge and onto the next workspace",
1803 resource.workspace_warping, saverc_cmd); 1803 resource.workspace_warping, saverc_cmd);
1804 _BOOLITEM(menu, Configmenu, ClickRaises,
1805 "Click Raises", "Click Raises",
1806 resource.click_raises, saverc_cmd);
1807 1804
1808#undef _BOOLITEM 1805#undef _BOOLITEM
1809 1806