Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-01 | Simplify syntax of keys.lua | Pavel Labath | 1 | -38/+84 | |
keybindings are now added like this some_keymode['Ctrl F1'] = 'RootMenu' This should be more intuitive and it allows things like this foo['Ctrl F1'] = bar['Mod1 F2'] | |||||
2011-11-01 | Refactor keys code a bit | Pavel Labath | 1 | -34/+34 | |
I uncoupled the binding lookup from actual adding. This will make it easier to add functions for removing bindings. | |||||
2011-11-01 | Change default keybinding to a more sane value | Pavel Labath | 1 | -1/+1 | |
2011-11-01 | Reintroduce support for multiple keymodes | Pavel Labath | 1 | -18/+38 | |
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 lua | Pavel Labath | 1 | -230/+247 | |
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-01 | Attach a modifiedSig handler to the session.keyFile resource | Pavel Labath | 1 | -13/+8 | |
2011-09-14 | Use RefCount to store keybindings | Pavel Labath | 1 | -53/+32 | |
I'm doing this because I want to have access to keybindings from lua and for that I need more flexible ownership semantics. | |||||
2011-09-14 | Remove the assignment operator from a regular pointer to a RefCount | Pavel Labath | 1 | -1/+1 | |
it is too easy too shoot yourself in the foot with it, other smart pointers also don't allow such assignments. If you do want to assign to a RefCount pointer, use reset(). ps: assignment between two RefCounts remains possible, of course. | |||||
2011-08-26 | regrab ButtonMotionMask as well (needed for 'Move' events in keysfile) | Mathias Gumz | 1 | -1/+1 | |
2011-08-26 | bugfix: remap keysyms to keycodes after 'MappingNotify', fix #3386257 | Mathias Gumz | 1 | -11/+25 | |
setxkbmap and xmodmap both might change the keycodes. thus fluxbox needs to remap the keysyms from the currently loaded keytree to new keycodes after it received a 'MappingNotify' event. we do not reload() the keys file because: * the user might work on it right now * remap only needed symbols is cheaper than parsing the keysfile anyway | |||||
2011-05-10 | Make RefCount<> more sensible | Pavel Labath | 1 | -3/+3 | |
the previous version of operator*() made no sense. E.g., it violated the invariant (*ptr).foo <=> ptr->foo. The dereferencing operator now returns a reference to the pointed-to object, rather than a pointer to it. I also added a bool conversion operator, which can be used in testing the NULL-ness of the pointer. Anyone wondering if that could be done in a simpler way is encouraged to read <http://www.artima.com/cppsource/safebool.html>. And, finally, I removed the mutable flag from the m_data member, since it does not need it. | |||||
2010-09-11 | added '(workspace=[current])' to our default keys | Mathias Gumz | 1 | -2/+2 | |
commit 882a50fe1d4930b156965c54d9b66ecb27b4c9b2 removed the hardcoded limit to cycle to windows on other workspaces, though it was and IS a good default behaviour. if users do not want this (they want to cycle to windows on other workspaces), they should explicitly avoid '(workspace=[current])' in their keysfile. | |||||
2010-09-04 | fixed the default 'OnTitlebar Mouse1' actions | Mathias Gumz | 1 | -2/+2 | |
2010-08-20 | implemented 'ActivateTab' action to (re)allow activation of tabs via mouse | Mathias Gumz | 1 | -0/+2 | |
2010-08-16 | fixed typo | Mathias Gumz | 1 | -1/+1 | |
2010-05-23 | mostly cosmetic fixes, mainly discovered by 'clang --analyze' | Mathias Gumz | 1 | -1/+1 | |
reordering of Resource-related stuff was because of "error: explicit specialization of 'getString' after instantiation" complaints. | |||||
2010-05-08 | prevent crash if m_keylist is 0 | Mathias Gumz | 1 | -0/+3 | |
again, i do not know yet, why this could happen. | |||||
2010-05-08 | cleanup: missing initialization | Mathias Gumz | 1 | -0/+2 | |
i ran across problems on a freshly installed ubuntu without any config files, m_keylist was not initialized, yet unsure why. | |||||
2010-05-05 | cosmetic | Mathias Gumz | 1 | -1/+1 | |
2010-05-05 | added OnLeftGrip, OnRightGrip, OnWindowBorder modifiers for keys file | Mathias Gumz | 1 | -0/+10 | |
this allows to move some hardcoded keysbindings into the keys file and makes the code simpler | |||||
2010-03-17 | Changed #ifdef DEBUG ... cerr << to using fbdbg. | Henrik Kinnunen | 1 | -3/+3 | |
This will reduce the number of #ifdef DEBUG for simple debug messages. include "Debug.hh" and use fbdbg instead of cerr for debug. | |||||
2009-12-18 | implemented 'MoveN' and 'ClickN' support in keys file. | Mathias Gumz | 1 | -43/+67 | |
the hardcoded 'OnTitlebar Mouse1 :Raise' (see Window.cc, FluxboxWindow::buttonPressEvent()) is disabled for now, should be added to fluxbox-update_configs | |||||
2009-10-02 | just use the FbTk API | Mathias Gumz | 1 | -0/+5 | |
2009-08-08 | more fixes for fluxconf mangling the keys file | Mark Tiefenbruck | 1 | -0/+7 | |
2009-06-28 | add window menu and alt-tab to error case for keys file | Mark Tiefenbruck | 1 | -0/+3 | |
2009-03-04 | src/Keys.cc(deleteTree): use FbTk::STLUtil::destroyAndClearSecond() instead ↵ | Slava Semushin | 1 | -3/+5 | |
of self-written code. No functional change. Signed-off-by: Slava Semushin <php-coder@altlinux.ru> | |||||
2008-11-02 | don't reload keys file on modifier map events, just re-grab keys | Mark Tiefenbruck | 1 | -0/+4 | |
2008-10-04 | break keychains after an invalid key is pressed (which unfortunately will be ↵ | Mark Tiefenbruck | 1 | -9/+6 | |
swallowed) | |||||
2008-09-28 | don't let KeyRelease events propagate to windows | Mark Tiefenbruck | 1 | -6/+5 | |
2008-08-22 | another parsing fix | Mark Tiefenbruck | 1 | -3/+3 | |
2008-08-16 | revert focus when closing dialogs | Mark Tiefenbruck | 1 | -3/+3 | |
2008-08-16 | move interpretation of normal hints to size hint class | Mark Tiefenbruck | 1 | -1/+1 | |
2008-08-14 | cleanup of some files | Mathias Gumz | 1 | -6/+7 | |
2008-05-12 | only reload the keys file if the contents have changed | Mark Tiefenbruck | 1 | -25/+12 | |
2008-04-30 | workaround for keys files broken by fluxconf | Mark Tiefenbruck | 1 | -0/+2 | |
2008-02-11 | more fun with the window menu | Mark Tiefenbruck | 1 | -1/+7 | |
2008-02-04 | Fix a freed memory access in Keys::doAction. | Tomas Janousek | 1 | -2/+2 | |
The thing next_key pointed to was getting freed in deleteTree. Signed-off-by: Tomas Janousek <tomi@nomi.cz> | |||||
2008-02-03 | check pointer, even though it shouldn't be necessary | Mark Tiefenbruck | 1 | -1/+1 | |
2008-01-11 | make FbTk::Command a template class, split parsing information out of ↵ | Mark Tiefenbruck | 1 | -3/+3 | |
ObjectRegistry | |||||
2008-01-04 | remove old svn $Id$ tags | Mark Tiefenbruck | 1 | -3/+0 | |
2008-01-02 | decoupling, moved private datastructures to Keys.cc | Mathias Gumz | 1 | -32/+79 | |
2007-12-30 | removed some unneeded headers | Mathias Gumz | 1 | -1/+0 | |
2007-12-16 | changed CommandRegistry to a template class, renamed to ObjectRegistry<Type> | Mark Tiefenbruck | 1 | -2/+2 | |
2007-12-13 | added FbTk::CommandRegistry, decentralized command parsing, and made them ↵ | markt | 1 | -2/+2 | |
auto-register | |||||
2007-12-09 | added OnTitlebar modifier to keys file | markt | 1 | -10/+49 | |
2007-11-22 | added special FocusIn/Out MouseOver/Out ChangeWorkspace keys | markt | 1 | -4/+29 | |
2007-11-20 | move titlebar click handling to FluxboxWindow, fix buttons getting ungrabbed | markt | 1 | -1/+11 | |
2007-11-05 | fix alt-tab | markt | 1 | -1/+3 | |
2007-11-05 | various refactoring and minor changes | markt | 1 | -0/+5 | |
2007-10-15 | add OnWindow modifier to keys file | markt | 1 | -0/+2 | |