aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2015-02-05 20:30:44 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-02-05 20:30:44 (GMT)
commit0da4be2a0114d4419ceb70a4c6b6342f8fd79852 (patch)
tree371575758618de52415c823f756346cb3e1a5bb4 /src/fluxbox.hh
parente79228cc08ee1d0d20d7ef27103a5d167fb8f133 (diff)
downloadfluxbox-0da4be2a0114d4419ceb70a4c6b6342f8fd79852.zip
fluxbox-0da4be2a0114d4419ceb70a4c6b6342f8fd79852.tar.bz2
Feature: different MenuSearch modes
Fluxbox now supports three MenuSearch modes: * NoWhere - essentially "disabling" the menu search. * Somewhere - the search string matches somewhere. * ItemStart - the search string matches at the start of a menu item. The default value is "ItemStart", just in the good old times. As long as this feature is not configurable via the menu it would irritate users with distinct muscle memory who type without thinking OR checking the visual feedback: they would trigger items they did not intent to trigger after years of the old behavior. Once this feature get's an entry in the config menu the default value might change.
Diffstat (limited to 'src/fluxbox.hh')
-rw-r--r--src/fluxbox.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh
index df0335a..2d2e670 100644
--- a/src/fluxbox.hh
+++ b/src/fluxbox.hh
@@ -29,6 +29,7 @@
29#include "FbTk/Resource.hh" 29#include "FbTk/Resource.hh"
30#include "FbTk/Timer.hh" 30#include "FbTk/Timer.hh"
31#include "FbTk/Signal.hh" 31#include "FbTk/Signal.hh"
32#include "FbTk/MenuSearch.hh"
32 33
33#include "AttentionNoticeHandler.hh" 34#include "AttentionNoticeHandler.hh"
34 35
@@ -251,6 +252,7 @@ private:
251 FbTk::Resource<std::string> apps_file; 252 FbTk::Resource<std::string> apps_file;
252 253
253 FbTk::Resource<TabsAttachArea> tabs_attach_area; 254 FbTk::Resource<TabsAttachArea> tabs_attach_area;
255 FbTk::Resource<FbTk::MenuSearch::Mode> menusearch;
254 FbTk::Resource<unsigned int> cache_life; 256 FbTk::Resource<unsigned int> cache_life;
255 FbTk::Resource<unsigned int> cache_max; 257 FbTk::Resource<unsigned int> cache_max;
256 FbTk::Resource<time_t> auto_raise_delay; 258 FbTk::Resource<time_t> auto_raise_delay;