diff options
author | simonb <simonb> | 2005-09-07 16:46:17 (GMT) |
---|---|---|
committer | simonb <simonb> | 2005-09-07 16:46:17 (GMT) |
commit | 070a216aa88ed56d391db8b73e7e9356e90742bb (patch) | |
tree | 0fdc7090dd22dda004ef6a44f774999f6c3bed29 /src/Screen.cc | |
parent | cfb26be26928c53a0be267f4707041bb82371519 (diff) | |
download | fluxbox_pavel-070a216aa88ed56d391db8b73e7e9356e90742bb.zip fluxbox_pavel-070a216aa88ed56d391db8b73e7e9356e90742bb.tar.bz2 |
Add titlebar scrolling options (thanks Krzysiek Pawlik <krzysiek.pawlik__AT__people.pl>)
New init options added:
session.screenN.windowScrollAction: Shade|NextTab
- set the action that happens when scrolling on the titlebar
session.screenN.windowScrollReverse: true|false
- reverse the action direction
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 6d30cef..4433000 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -202,7 +202,10 @@ BScreen::ScreenResource::ScreenResource(FbTk::ResourceManager &rm, | |||
202 | gc_cap_style(rm, | 202 | gc_cap_style(rm, |
203 | FbTk::GContext::CAPNOTLAST, | 203 | FbTk::GContext::CAPNOTLAST, |
204 | scrname+".overlay.capStyle", | 204 | scrname+".overlay.capStyle", |
205 | altscrname+".overlay.CapStyle") { | 205 | altscrname+".overlay.CapStyle"), |
206 | scroll_action(rm, "", scrname+".windowScrollAction", altscrname+".WindowScrollAction"), | ||
207 | scroll_reverse(rm, false, scrname+".windowScrollReverse", altscrname+".WindowScrollReverse") { | ||
208 | |||
206 | 209 | ||
207 | } | 210 | } |
208 | 211 | ||