Commit graph

58 commits

Author SHA1 Message Date
Pavel Labath
536a16e6e2 Use RefCount to store keybindings
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 19:39:11 +02:00
Mathias Gumz
a10bab0f7c added OnLeftGrip, OnRightGrip, OnWindowBorder modifiers for keys file
this allows to move some hardcoded keysbindings into the keys file and
makes the code simpler
2010-05-05 08:41:03 +02:00
Mark Tiefenbruck
f5fdbab98c don't reload keys file on modifier map events, just re-grab keys 2008-11-01 17:03:32 -07:00
Mark Tiefenbruck
22f3df9aa8 break keychains after an invalid key is pressed (which unfortunately will be swallowed) 2008-10-03 22:59:14 -07:00
Mathias Gumz
31b47e7814 cleanup of some files 2008-08-14 07:53:38 +02:00
Mark Tiefenbruck
61b04e3366 need to reset keybindings when keymap changes 2008-05-15 12:30:11 -07:00
Mark Tiefenbruck
dcdc783324 only reload the keys file if the contents have changed 2008-05-12 12:16:37 -07:00
Mark Tiefenbruck
611b6aa57e more fun with the window menu 2008-02-11 10:17:45 -08:00
Tomas Janousek
b61502ffbc Fix a freed memory access in Keys::doAction.
The thing next_key pointed to was getting freed in deleteTree.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-02-04 18:46:24 +01:00
Mark Tiefenbruck
9c105111d2 remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
Mathias Gumz
222128c236 more header 'correctness' 2008-01-02 09:31:18 +01:00
Mathias Gumz
ec13263a18 decoupling, moved private datastructures to Keys.cc 2008-01-02 09:28:00 +01:00
Mathias Gumz
04cd2fd14c removed some unneeded headers 2007-12-30 16:32:53 +01:00
markt
95f9c2d680 added OnTitlebar modifier to keys file 2007-12-09 20:47:41 +00:00
markt
08ebff4b31 move titlebar click handling to FluxboxWindow, fix buttons getting ungrabbed 2007-11-20 19:01:45 +00:00
markt
a59428d67a merged changes from pre-devel 2007-10-13 21:51:37 +00:00
simonb
ac215248a0 load default key bindings on error 2007-09-30 11:35:20 +00:00
markt
4945b88e1b function to find already existing keychains wasn't working properly 2007-03-18 19:39:30 +00:00
markt
6fdda1a31d added mouse bindings to the keys file 2007-02-09 18:13:01 +00:00
markt
8930a711ee only grab keybindings on screens managed by fluxbox 2007-01-05 16:54:34 +00:00
markt
1440919956 Change to data structure for keybindings, ungrab and grab keys when switching
keymodes instead of deciding whether we need it and repeating the key.
2006-12-19 18:08:33 +00:00
simonb
33079d2593 add "key modes" - thanks to Mark Tiefenbruck, mark at tiefenbruck dot org 2006-04-12 15:51:37 +00:00
mathias
be03b0a3dc cosmetic, closes #1467926 2006-04-11 19:22:24 +00:00
fluxgen
894a7148be size_t fixes, thanks Semushin Slava aka php-coder 2006-04-02 21:37:44 +00:00
mathias
6c057c6903 Fix for #1160244, #1099704, #1094107:
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-05-06 09:22:53 +00:00
mathias
cf46669bc1 copyright date 2005-01-24 18:34:57 +00:00
mathias
993c17cf2e svn propset svn:keywords "Id" 2004-11-19 11:37:27 +00:00
fluxgen
29c7784599 addBinding function and some cleaning 2003-12-20 17:37:57 +00:00
fluxgen
90ff80f89b cleaning 2003-12-16 23:36:06 +00:00
rathnor
6984eb8970 shuffle bunch of stuff from Keys into FbTk/KeyUtil 2003-10-05 07:20:47 +00:00
fluxgen
85316137ba moved modifier detection to FbTk KeyUtil 2003-09-06 13:58:06 +00:00
fluxgen
ce77642a0e cleaning 2003-08-19 16:19:28 +00:00
fluxgen
24b7682033 using new CommandParser and Commands instead of enum actions 2003-06-30 14:57:14 +00:00
rathnor
77f43591ce new keys for cycling through groups - NextGroup/PrevGroup (they are an alias
for NextWindow/PrevWindow 1
2003-06-15 11:38:35 +00:00
rathnor
81e4fe8d44 add reconfigure and restart keys 2003-06-08 14:32:28 +00:00
rathnor
2a1bc27e90 add directional focus movement (Simon)
incl new keybindings FocusUp, FocusDown, FocusLeft, FocusRight
2003-04-20 12:21:35 +00:00
rathnor
58e19dc91e add most recently used window cycling (Simon)
It is now the default cycling action
2003-04-15 00:50:25 +00:00
fluxgen
f4ce449632 merged with embedded-tab-branch 2003-04-14 12:13:36 +00:00
fluxgen
7af4b1a71a minor cleaning 2003-02-28 23:37:41 +00:00
rathnor
1b063dcea9 Integration of new Layering code, plus updates to the layering code itself
- new KeyActions: Raise/LowerLayer, AlwaysOnTop/Bottom, Top/BottomLayer
Added a "Quit" KeyAction
2003-02-02 16:32:41 +00:00
rathnor
28b5c60449 Indenting from tabs to emacs 4-space 2002-12-01 13:42:15 +00:00
fluxgen
a4668b0772 copyright notice 2002-11-27 22:07:42 +00:00
fluxgen
598ff7125d determine lock masks 2002-11-13 14:35:01 +00:00
fluxgen
56a41b23f9 doxygen comments 2002-08-04 15:55:13 +00:00
fluxgen
378c946d89 doxygen comments and const correct fixes 2002-07-27 18:03:39 +00:00
fluxgen
d74111a69b comments 2002-06-29 10:44:50 +00:00
fluxgen
74d77991bc added FIRSTTAB, LASTTAB, MOVETABPREV and MOVETABNEXT 2002-05-02 07:10:03 +00:00
fluxgen
9b8c02c542 added ToggleTab 2002-04-19 09:33:42 +00:00
fluxgen
b7ca86795e added RootMenu action 2002-04-09 09:40:18 +00:00
fluxgen
33a42a6f5f removed 1-12 in sendtoworkspace 2002-02-26 22:20:24 +00:00