summaryrefslogtreecommitdiff
path: root/openbox/keyboard.c
AgeCommit message (Collapse)Author
2014-10-28Move assignment to before break, hopefully this doesn't break stuffMikael Magnusson
2011-10-16Fix crash when keyboard map changes and no keybindings exist.Dana Jansens
Don't assume old tree is non-null and start rebinding it.
2010-09-16Revert "add XFlush to g_timeout callbacks"Dana Jansens
This reverts commit aa3685d16af4a565eecdc39047ee8d140ef5cd99. Mika's commit using a GSource to handle X Events fixes this problem, so this commit is not needed
2010-06-14add XFlush to g_timeout callbacksDana Jansens
GMainLoop doesn't cause an flush to occur after handling a timeout.
2010-06-14Use GMainLoop instead of ObtMainLoopDana Jansens
2010-04-16use const Rect* not Rect const*Dana Jansens
2010-02-12remove a bunch of g_new()/g_free() by returning Rect const*'s from screen ↵Dana Jansens
area functions when possible
2010-02-11don't strip the state for keyboard eventsDana Jansens
this allows translation of keys not in the base keyboard layout
2010-01-08Don't handle input events on prompts if they should be used for a ↵Dana Jansens
binding/menu instead. Also, be more careful about making the prompt buttons look pressed, don't make them pressed from a motion notify event if they didnt first handle the press.
2009-12-16Merge branch 'backport' into workDana Jansens
Conflicts: obt/keyboard.c obt/keyboard.h openbox/event.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c
2009-12-15Make the NET_WORKAREA hint work the way it used to, across all monitorsDana Jansens
The spec is not going to change this hint, but rather add a new one. So for now just revert to the old behaviour.
2009-12-11Merge branch 'backport' into workDana Jansens
Conflicts: openbox/config.c openbox/event.c openbox/prop.c openbox/prop.h openbox/screen.c openbox/screen.h
2009-12-09Add a primaryMonitor config option, where the focus-cycle and keychain ↵Dana Jansens
popups will appear
2008-04-23Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/config.c openbox/keyboard.c openbox/moveresize.c
2008-04-15Don't use GrabModeSync, it hangs the xserver on chains sometimes.Mikael Magnusson
More or less a revert of 5bfa48dcffec3b00d119d851cb2427a43f80aa7b "Grab key bindings with GrabModeSync" See also bug #3582.
2008-03-08Merge branch 'backport' into workMikael Magnusson
Conflicts: obt/keyboard.c openbox/actions/cyclewindows.c openbox/actions/directionalwindows.c openbox/frame.c openbox/openbox.c
2008-03-08Remove double newlines.Mikael Magnusson
2008-02-18Merge branch 'backport' into workDana Jansens
Conflicts: openbox/grab.c openbox/keyboard.c
2008-02-18Grab key bindings with GrabModeSync, so that if they lead to a keyboard ↵Dana Jansens
grab, then no keyboard events will be lost between the initial keybinding and the keyboard grab.
2008-02-02unused variableDana Jansens
2008-02-02unused varDana Jansens
2008-02-02Merge branch 'backport' into workDana Jansens
Conflicts: openbox/client.c openbox/event.c openbox/mouse.c openbox/openbox.c openbox/prop.c openbox/prop.h openbox/screen.c parser/parse.c parser/parse.h
2008-02-02fix a crash from chroot of invalid keys, and make keybindings reload betterDana Jansens
since invalid(not translated) keybindings are allowed in the tree, the tree's structure may actually need to change when reconfiguring. actually, it could need to anyways. so when re-translating all the keybindings, actually rebuild the keybinding tree. also, make the chroot building code not fail when translate fails, to match the rest of the code and avoid segfaults with chroots on invalid keys.
2008-01-31make an obt_root() macroDana Jansens
2008-01-20make openbox use the obt prop.c/h stuffDana Jansens
holy search and replace batman
2008-01-20s/ob_display/obt_display/ and remove ob_displayDana Jansens
2008-01-20Move the main loop out into the libobtDana Jansens
2008-01-16Various fixes for sparse warnings.Mikael Magnusson
Define void functions with (void), not (). Add missing includes. Some functions were declared static but defined non-static. Some variables that should be file static were file global but not used in any other file. prop.h defined a new prop_atoms in each file that included it instead of declaring it extern.
2008-01-11dont reparse the config file when the keyboard map changes. just rebind ↵Dana Jansens
everything. yay for mika as inspiration
2007-09-04ANSI function declarations, ie () -> (void)Mikael Magnusson
2007-09-04Fix calling functions with wrong number of argumentsMikael Magnusson
2007-06-22add the move actionDana Jansens
2007-06-22add the cyclewindows actionDana Jansens
2007-06-22well.. it compiles..Dana Jansens
2007-06-22add interactive action functions. some other changes to stuff that wasnt ↵Dana Jansens
going to work
2007-06-21make mouse use the new action stuffDana Jansens
2007-06-13xinerama support like crazy for struts and everything else too. this ↵Dana Jansens
probably crashes but its been way too long without a commit.
2007-06-13plug memory leaks from the new strut codeDana Jansens
2007-06-12only xungrabkeyboard when we actually have a passive grab on itDana Jansens
2007-06-10allow noninteractive directional focus.Dana Jansens
make keybinds noninteractive when the last key in the chain has no modifiers (i think this is what the code was supposed to do but failed.) don't reset key chains during an interactive action. reset them after an interactive action finishes (honoring chroot) so you can <C-t><C-Up>Stuff<//> and it'll do stuff as you hit C-Up, you dont have to keep hitting C-t
2007-06-07make popup dialogs appear on the active monitor with xineramaDana Jansens
2007-06-05revert that, center the popups for move/resize and keychainsDana Jansens
2007-05-26change in how things are ungrabbed to avoid grabwhilenotify. don't ungrab ↵Dana Jansens
every key press. just ungrab the passive grab when there is no active grab and we are going to move focus. this should be less intrusive and seems to work
2007-05-23draw the keychain popup only when necessaryDana Jansens
2007-05-19revert r6638Dana Jansens
2007-05-19make either key work for people who have super_l and super_r (or whatever ↵Dana Jansens
ones) bound to different mod masks
2007-05-14ungrab the keyboard for passive grabs. kill interactive actions for exec ↵Dana Jansens
actions. don't ungrab the keyboard during interactive actions though.
2007-05-13add grab/ungrab macros so dont need to pass in 10 arguments to ungrab stuff.Dana Jansens
add a confine option to grab_pointer to confine the pointer to the screen, and use that for moveresize
2007-05-13don't allow focus to move during an interactive grab. if users set up actionsDana Jansens
such that this would happen, then kill the interactive grab before moving focus. this is to avoid NotifyWhileGrabbed FocusOut's
2007-05-13use the right list in client_add_hide_notify, rename destructor to ↵Dana Jansens
destroy_notify which is really what it is, and is more consistant now that there are 2 notifies