Commit graph

97 commits

Author SHA1 Message Date
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
Henrik Kinnunen
ce0b41c847 Changed #ifdef DEBUG ... cerr << to using fbdbg.
This will reduce the number of #ifdef DEBUG for
simple debug messages.
include "Debug.hh" and use fbdbg instead of cerr for debug.
2010-03-17 16:35:07 +01:00
Mathias Gumz
46261a8284 implemented 'MoveN' and 'ClickN' support in keys file.
the hardcoded 'OnTitlebar Mouse1 :Raise' (see Window.cc, FluxboxWindow::buttonPressEvent())
is disabled for now, should be added to fluxbox-update_configs
2009-12-18 08:05:07 +01:00
Mathias Gumz
80e8cd071e just use the FbTk API 2009-10-02 08:38:24 +02:00
Mark Tiefenbruck
07da360b2b more fixes for fluxconf mangling the keys file 2009-08-08 09:14:39 -07:00
Mark Tiefenbruck
f2c0175a72 add window menu and alt-tab to error case for keys file 2009-06-28 03:55:21 -07:00
Slava Semushin
5532aca916 src/Keys.cc(deleteTree): use FbTk::STLUtil::destroyAndClearSecond() instead of self-written code.
No functional change.

Signed-off-by: Slava Semushin <php-coder@altlinux.ru>
2009-03-04 21:45:52 +01: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
Mark Tiefenbruck
04a1d2a83b don't let KeyRelease events propagate to windows 2008-09-28 01:26:21 -07:00
Mark Tiefenbruck
9170de1831 another parsing fix 2008-08-22 07:14:56 -07:00
Mark Tiefenbruck
72fd5e03a4 revert focus when closing dialogs 2008-08-16 06:30:09 -07:00
Mark Tiefenbruck
fe412dbeef move interpretation of normal hints to size hint class 2008-08-16 00:22:12 -07:00
Mathias Gumz
31b47e7814 cleanup of some files 2008-08-14 07:53:38 +02:00
Mark Tiefenbruck
dcdc783324 only reload the keys file if the contents have changed 2008-05-12 12:16:37 -07:00
Mark Tiefenbruck
92c4489a7b workaround for keys files broken by fluxconf 2008-04-30 08:31:04 -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
f3e3bb5273 check pointer, even though it shouldn't be necessary 2008-02-03 12:17:42 -08:00
Mark Tiefenbruck
9f2f65a698 make FbTk::Command a template class, split parsing information out of ObjectRegistry 2008-01-10 23:41:22 -08:00
Mark Tiefenbruck
9c105111d2 remove old svn $Id$ tags 2008-01-03 17:34:12 -08: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
Mark Tiefenbruck
8516f1e2a2 changed CommandRegistry to a template class, renamed to ObjectRegistry<Type> 2007-12-15 19:36:01 -08:00
markt
8b7464046c added FbTk::CommandRegistry, decentralized command parsing, and made them auto-register 2007-12-13 05:48:00 +00:00
markt
95f9c2d680 added OnTitlebar modifier to keys file 2007-12-09 20:47:41 +00:00
markt
bb6906fa80 added special FocusIn/Out MouseOver/Out ChangeWorkspace keys 2007-11-22 20:21:47 +00:00
markt
08ebff4b31 move titlebar click handling to FluxboxWindow, fix buttons getting ungrabbed 2007-11-20 19:01:45 +00:00
markt
46c8e217ca fix alt-tab 2007-11-05 17:45:05 +00:00
markt
97f7c3e1b5 various refactoring and minor changes 2007-11-05 17:05:58 +00:00
markt
72130f350e add OnWindow modifier to keys file 2007-10-15 18:05:28 +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
mathias
6ac57655d9 basicly cosmetic changes, patch by slava semushin 2007-04-17 07:52:40 +00:00
markt
3503f75903 lots of unrelated fixes 2007-02-27 17:46:48 +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
17a92c3253 little fix for nls in keys 2006-12-20 16:22:10 +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
mathias
10082d821d cosmetic patch from slava semushin, removes whitespaces and
uses only those things from "namespace std" what we really need.
2006-10-27 06:57:43 +00:00
simonb
3ada3b1f0d fix nls... notably classify text on conversion whether its for X or
console, plus handle catalogs better.
2006-06-21 14:41:16 +00:00
mathias
a15d9af3c7 Cleanup unneeded headers (thanks Slava Semushin) 2006-04-25 06:46:06 +00:00
simonb
932eebe0dd couple of memory fixes from valgrind 2006-04-22 15:37:04 +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
simonb
0159f0396d typo broke build 2006-04-03 05:30:21 +00:00
fluxgen
894a7148be size_t fixes, thanks Semushin Slava aka php-coder 2006-04-02 21:37:44 +00:00
mathias
ae05ad9a01 updated copyright info 2006-02-16 06:53:05 +00:00
fluxgen
f9af363e24 added the ability to use keycode in keys file 2005-05-20 22:25:22 +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