aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.hh
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Reintroduce support for multiple keymodesPavel Labath1-0/+6
new keymodes are created (in lua) by calling newKeyMode() and activated by calling keymode:activate()
2011-11-01(More-or-less complete) conversion of keys file to luaPavel Labath1-11/+2
keybindings are added by calling the addBinding method of default_keymode. It keys two parameters: the keys to which the action is bound to and the action itself. The action can be specified as a string (which is passed to CommandParser) or as a lua function. Support for multiple keymodes is forthcoming. For the time being, I removed the BindKey and KeyMode commands, as they will take a bit different form.
2011-11-01Attach a modifiedSig handler to the session.keyFile resourcePavel Labath1-4/+2
2011-09-14Use RefCount to store keybindingsPavel Labath1-5/+7
I'm doing this because I want to have access to keybindings from lua and for that I need more flexible ownership semantics.
2010-05-05added OnLeftGrip, OnRightGrip, OnWindowBorder modifiers for keys fileMathias Gumz1-8/+11
this allows to move some hardcoded keysbindings into the keys file and makes the code simpler
2008-11-02don't reload keys file on modifier map events, just re-grab keysMark Tiefenbruck1-0/+3
2008-10-04break keychains after an invalid key is pressed (which unfortunately will be ↵Mark Tiefenbruck1-1/+4
swallowed)
2008-08-14cleanup of some filesMathias Gumz1-2/+2
2008-05-15need to reset keybindings when keymap changesMark Tiefenbruck1-6/+5
2008-05-12only reload the keys file if the contents have changedMark Tiefenbruck1-14/+9
2008-02-11more fun with the window menuMark Tiefenbruck1-1/+2
2008-02-04Fix a freed memory access in Keys::doAction.Tomas Janousek1-0/+3
The thing next_key pointed to was getting freed in deleteTree. Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2008-01-02more header 'correctness'Mathias Gumz1-1/+1
2008-01-02decoupling, moved private datastructures to Keys.ccMathias Gumz1-48/+10
2007-12-30removed some unneeded headersMathias Gumz1-5/+5
2007-12-09added OnTitlebar modifier to keys filemarkt1-4/+7
2007-11-20move titlebar click handling to FluxboxWindow, fix buttons getting ungrabbedmarkt1-1/+7
2007-10-13merged changes from pre-develmarkt1-14/+18
2007-09-30load default key bindings on errorsimonb1-0/+3
2007-03-18function to find already existing keychains wasn't working properlymarkt1-0/+2
2007-02-09added mouse bindings to the keys filemarkt1-16/+27
2007-01-05only grab keybindings on screens managed by fluxboxmarkt1-1/+4
2006-12-19Change to data structure for keybindings, ungrab and grab keys when switchingmarkt1-8/+3
keymodes instead of deciding whether we need it and repeating the key.
2006-04-12add "key modes" - thanks to Mark Tiefenbruck, mark at tiefenbruck dot orgsimonb1-4/+8
2006-04-11cosmetic, closes #1467926mathias1-18/+21
2006-04-02size_t fixes, thanks Semushin Slava aka php-coderfluxgen1-2/+2
2005-05-06Fix for #1160244, #1099704, #1094107:mathias1-3/+5
if the xkb-extension is enabled and the user switches between his/her keyboardlayouts fluxbox's keybhandling doesn't work well anymore because xkeyevent.state contains also xkb-related flags and thus we have to handle that with caution. KeyUtils now contain 'isolateModifierMask()' to really work only on the modifiers. why not as part of cleanMods() ? because the XLookupString return false results, eg TextBox's would only print chars from the first keyboardlayout.
2005-01-24copyright datemathias1-1/+1
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2003-12-20addBinding function and some cleaningfluxgen1-10/+17
2003-12-16cleaningfluxgen1-6/+4
2003-10-05shuffle bunch of stuff from Keys into FbTk/KeyUtilrathnor1-18/+3
2003-09-06moved modifier detection to FbTk KeyUtilfluxgen1-16/+6
2003-08-19cleaningfluxgen1-15/+7
2003-06-30using new CommandParser and Commands instead of enum actionsfluxgen1-71/+16
2003-06-15new keys for cycling through groups - NextGroup/PrevGroup (they are an aliasrathnor1-1/+2
for NextWindow/PrevWindow 1
2003-06-08add reconfigure and restart keysrathnor1-2/+4
2003-04-20add directional focus movement (Simon)rathnor1-1/+2
incl new keybindings FocusUp, FocusDown, FocusLeft, FocusRight
2003-04-15add most recently used window cycling (Simon)rathnor1-3/+14
It is now the default cycling action
2003-04-14merged with embedded-tab-branchfluxgen1-2/+3
2003-02-28minor cleaningfluxgen1-4/+5
2003-02-02Integration of new Layering code, plus updates to the layering code itselfrathnor1-2/+5
- new KeyActions: Raise/LowerLayer, AlwaysOnTop/Bottom, Top/BottomLayer Added a "Quit" KeyAction
2002-12-01Indenting from tabs to emacs 4-spacerathnor1-137/+137
2002-11-27copyright noticefluxgen1-2/+2
2002-11-13determine lock masksfluxgen1-3/+7
2002-08-04doxygen commentsfluxgen1-7/+27
2002-07-27doxygen comments and const correct fixesfluxgen1-9/+39
2002-06-29commentsfluxgen1-9/+11
2002-05-02added FIRSTTAB, LASTTAB, MOVETABPREV and MOVETABNEXTfluxgen1-2/+2