diff options
author | Hendrik Iben <mikro@zvxeb.de> | 2012-11-18 19:09:35 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2012-11-20 07:04:50 (GMT) |
commit | e65a966d807e6b9b961817a3b160af1d4a765e0d (patch) | |
tree | 2ba8f0678bf607bfbb6e544740aefc9c7bade216 /src/Screen.cc | |
parent | b4534e0f28664f8b7a6d7a1155b0178232ed4e51 (diff) | |
download | fluxbox_pavel-e65a966d807e6b9b961817a3b160af1d4a765e0d.zip fluxbox_pavel-e65a966d807e6b9b961817a3b160af1d4a765e0d.tar.bz2 |
Added option for focus revert to stay on current head
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 6757af0..b2e57ed 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1600,6 +1600,17 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) { | |||
1600 | } catch (FbTk::ResourceException & e) { | 1600 | } catch (FbTk::ResourceException & e) { |
1601 | cerr<<e.what()<<endl; | 1601 | cerr<<e.what()<<endl; |
1602 | } | 1602 | } |
1603 | |||
1604 | #ifdef XINERAMA | ||
1605 | try { | ||
1606 | focus_menu->insert(new FbTk::BoolMenuItem(_FB_XTEXT(Configmenu, FocusSameHead, | ||
1607 | "Keep Head", "Only revert focus on same head"), | ||
1608 | m_resource_manager.getResource<bool>(name() + ".focusSameHead"), | ||
1609 | saverc_cmd)); | ||
1610 | } catch (FbTk::ResourceException e) { | ||
1611 | cerr<<e.what()<<endl; | ||
1612 | } | ||
1613 | #endif // XINERAMA | ||
1603 | 1614 | ||
1604 | _BOOLITEM(*focus_menu, Configmenu, AutoRaise, | 1615 | _BOOLITEM(*focus_menu, Configmenu, AutoRaise, |
1605 | "Auto Raise", "Auto Raise windows on sloppy", | 1616 | "Auto Raise", "Auto Raise windows on sloppy", |