aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/KeyUtil.cc
AgeCommit message (Collapse)AuthorFilesLines
2016-08-28fix compiler warning about std::auto_ptrMathias Gumz1-1/+1
fluxbox uses std::unique_ptr<> where it previously used std::auto_ptr<>. C++0X was approved in 2011. among other things, it deprecates std::auto_ptr. 5 years is long enough for compilers to catch up the standard.
2016-08-27Grab keyboard synchronouosly to allow replaysThomas Lübking1-1/+1
This allows to catch if a grabbed key (combo) is actually w/o effect (because eg. the OnDesktop condition does not match) and then replay the event ungrabbed to pass it to the focused client. Just like mouse grabbing, this BEARS THE POTENTIAL TO LOCK INPUT, thus needs AS MUCH TESTING AS POSSIBLE BUG: 1137
2016-08-27Replay toolbar button eventsThomas Lübking1-1/+1
NOTICE!!!! THIS IS HIGHLY EXPERIMENTAL! The patch alters the button grab mode to GrabSync in order to ReplayPointer the event. THIS CAN FREEZE ANY INPUT TO FLUXBOX!!! The toolbar (and other things?) grab buttons in order to handle MouseN events for the entire bar, INCLUDING all child windows. This causes two problems: 1. The bar handles events which are not meant for fluxbox at all (but the systray icons) BUG: 940 2. The bar will intercept (and suck) *every* press, even if only doubleclicks are desired BUG: 949 The problem with this patch is that an oversight here has the potential to completely freeze input event processing in fluxbox (ie. the process needs to be killed from outside), SO IT NEEDS TESTING! As much as possible.
2012-12-30replace XKeycodeToKeysym() with XkbKeycodeToKeysym()Sami Kerola1-2/+3
The XKeycodeToKeysym() is deprecated. References: http://comments.gmane.org/gmane.comp.misc.suckless/9403
2009-12-18implemented 'MoveN' and 'ClickN' support in keys file.Mathias Gumz1-25/+31
the hardcoded 'OnTitlebar Mouse1 :Raise' (see Window.cc, FluxboxWindow::buttonPressEvent()) is disabled for now, should be added to fluxbox-update_configs
2009-09-30cosmetic fixes: removed redundant ';' + some whitespacesMathias Gumz1-1/+1
2009-06-28allow 'Ctrl' and 'Alt' as modifiers in keys fileMark Tiefenbruck1-0/+2
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-30remove some (hopefully) unneeded header includesMark Tiefenbruck1-0/+2
2007-07-24fix ToggleDecor for fullscreen and decorationless windows, plus some other ↵markt1-1/+1
cleanup
2007-06-29updates for compiling with gcc 4.3markt1-0/+5
2007-04-05changed caps lock detection to use LockMask, so the actual key can be used ↵markt1-8/+6
for Mod4, etc.
2007-02-09added mouse bindings to the keys filemarkt1-1/+6
2007-01-27bunch of cleanup, little bug fixesmarkt1-36/+21
2007-01-05only grab keybindings on screens managed by fluxboxmarkt1-52/+43
2006-12-19Change to data structure for keybindings, ungrab and grab keys when switchingmarkt1-8/+8
keymodes instead of deciding whether we need it and repeating the key.
2006-07-21unfix *lock modifiers, ignore scroll lock on eventsmarkt1-1/+1
2006-06-25Check for NoSymbol more explicitly - thanks Julien Trolet (dmxen at simonb1-2/+4
sourceforge)
2006-04-12add "key modes" - thanks to Mark Tiefenbruck, mark at tiefenbruck dot orgsimonb1-8/+8
2006-02-16updated copyright infomathias1-1/+1
2005-05-06Fix for #1160244, #1099704, #1094107:mathias1-38/+34
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
2004-10-08cosmeticakir1-2/+2
2004-09-01fix for a compile-error with mips-pro 7.30 (segfaulted)akir1-9/+12
2004-02-10const operatorfluxgen1-2/+2
2003-12-31using fixed values againfluxgen1-4/+4
2003-12-30use real mods for caps, num and scrollfluxgen1-4/+39
2003-10-13using auto_ptrfluxgen1-7/+7
2003-10-05shuffle bunch of stuff from Keys into FbTk/KeyUtilrathnor1-44/+156
2003-09-08minor fixesfluxgen1-5/+1
2003-09-06key util to determine mod mask for keysfluxgen1-0/+85