summaryrefslogtreecommitdiff
path: root/openbox/actions.c
AgeCommit message (Collapse)Author
2013-08-19Add ForEach action which is like If but runs on all clientsMikael Magnusson
Also adds a Stop action that lets you stop running, in case you only want to run actions on the first match.
2012-10-06Allow windows created by execute actions to steal focus if the user isn't ↵Dana Jansens
interacting with another window (Fix bug 5419). When the execute action was run, we would say that the user had used the focused at that time. Then when a new window popped up, we'd think the user was busy in the current window and prevent the new one from steal focus. Now the execute action does not update the "user interacted with the focused window" timestamp anymore. So, if they aren't currently typing in some window when they trigger an execute action, and the window appears, it will steal focus.
2012-09-30Generate a fake leave event on actions that move windows (used to generate ↵Dana Jansens
another enter event?)
2012-09-30Don't make desktop switching interactive when no mods used. (Fix bug #5203)Dana Jansens
Make mod state passing more consistent, and always give actions the full state instead of stripping sometimes. (They ended up expecting it stripped always).
2011-08-01Comment fixDana Jansens
2011-01-24update the user-interaction timestamp when running a (non-interactive) ↵Dana Jansens
action on the focused window update it at the end of running actions instead of multiple times (once for each action)
2010-05-17set the interactive action to NULL before doing its cleanup phaseDana Jansens
if the cleanup ends up cancelling the "current interactive action", it would cause the end function to be called again, which sucks. for instance if the cleanup function uses the Focus action. this prevents the unwanted loop into the interactive action cleanup.
2010-02-19save the state of the modifiers only when starting an interactive actionDana Jansens
2010-02-12use g_slice_new() instead of g_new() part 2Dana Jansens
2010-02-11initialize the action shutdown function to NULLDana Jansens
2010-02-11pass an input context to the interactive input functionDana Jansens
2010-02-11add an optional shutdown function which actions can registerDana Jansens
2009-12-21rename the obt_parse library to obt_xml (since it is very xml specific)Dana Jansens
2009-12-18Add a focus option, unfocusOnLeave that removes focus from a window when the ↵Dana Jansens
pointer leaves it This uses the same delay to unfocus as is used for focusing on enter
2009-12-17Make the relative desktop switching actions interactiveDana Jansens
The desktop popup can now be shown "permanently" in which case it stays until you tell it to hide.
2009-12-17Allow the interactive cancel function to be optionalDana Jansens
2009-12-17Make it possible for an action name to choose whether it is interactive or ↵Dana Jansens
not based on its options. This way we can use the same name with options for an interactive action and a non-interactive action. Shorten the names of the ObActionsInteractive* functions to ObActionsI* Add a ObActionsIPreFunc that is called for interactive actions before the interactivity (key/mouse grab) is started. Add a ObActionsIPostFunc that is called for interactive actions after the interactiviti (key/mouse grab) has ended.
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-21Merge branch 'backport' into workDana Jansens
Conflicts: openbox/openbox.c openbox/session.c
2008-02-21Change all single quotes to double quotes in strings.Mikael Magnusson
2008-02-14Merge branch 'backport' into workMikael Magnusson
Diffing against the old work branch where most of the changes in backport were cherry-picked from indicates this should be alright. (0de9097017d4d1991388a35e380a57dc1135b431)
2008-02-14don't force fake enter events while there is a grab on the pointer. this ↵Dana Jansens
fixes focus switching during a move/resize from mouse-button-bound actions.
2008-02-14Make a pending ReplayPointer happen before moving/showing/hiding a window in ↵Dana Jansens
an action. Commit c907f5af4ad16b1 broke kdesktop again, so we have to fix it at an even finer level.
2008-02-09commit d9d580e0382 broke kdesktop again, so we have to fix it at an even ↵Dana Jansens
finer level. make a pending ReplayPointer happen before moving/showing/hiding a window in an action
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-02if windows on screen are going to be moved, then do the ReplayPointer before ↵Dana Jansens
that occurs, so it goes to the right window. if they are not, then just wait until after the actions are run (for kdesktop's sake really)
2008-01-31Merge branch 'backport' into workDana Jansens
Conflicts: openbox/client.c openbox/config.c openbox/event.c openbox/extensions.c openbox/focus_cycle_indicator.c openbox/focus_cycle_popup.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c openbox/stacking.c openbox/startupnotify.c
2008-01-27create fake enter events for button press bindings. only swallow enter ↵Dana Jansens
events when focus.undermouse is not on (for non-mouse actions)
2008-01-25Create fake enter events in fewer situations - avoiding times that you don't ↵Dana Jansens
actually want them. Ignore event serials without using XSync, so that we aren't doing an XSync 100 times per minute - slow!
2008-01-20s/xmlChildrenNode/children/Dana Jansens
2008-01-20update openbox to use the current parser interface in libobtDana Jansens
there is also some random bug fixes for other libobt stuff in here.
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.
2007-09-04ANSI function declarations, ie () -> (void)Mikael Magnusson
2007-07-17remove trailing whitespaceMikael Magnusson
2007-07-15Don't cancel interactive action when another one is run which shares the ↵Dana Jansens
same run function. This is how actions can cooperate!
2007-07-13move directionalcycling actions into the same .c file. make interactive ↵Dana Jansens
actions all kill delayed mouse focus which would kill the action.
2007-07-11only end the interactive action if it's the action you just ranDana Jansens
2007-07-11cancel the interactive action only if runing another one. i think this will ↵Dana Jansens
work?
2007-07-11create actions from string in a way that won't crashDana Jansens
2007-07-09cancel interactive actions when anothr action runs properlyDana Jansens
2007-06-22add raise actionDana Jansens
2007-06-22add the move actionDana Jansens
2007-06-22add the cyclewindows actionDana Jansens
2007-06-22added the debug actionDana Jansens
2007-06-22the execute action works again.Dana Jansens
default hardcoded bindings are temporarily offline
2007-06-22well.. it compiles..Dana Jansens
2007-06-22add code for interactive actionsDana 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