Add action_list_run.c/h with action_list_run() and struct ObActionListRun.
authorDana Jansens <danakj@orodu.net>
Tue, 2 Aug 2011 19:55:44 +0000 (15:55 -0400)
committerDana Jansens <danakj@orodu.net>
Wed, 3 Aug 2011 21:45:02 +0000 (17:45 -0400)
commit8de3bfdfb3a5570a7b12a15d5711e25db26cfebe
treeb164d39296a62909577de1d31c0a09c0d75d6e93
parent5fd0ad5b0af036680044cca9af8515d529b07c75
Add action_list_run.c/h with action_list_run() and struct ObActionListRun.

This function runs an action list, taking over from the function that used to
live in action.c.  Now the action.c function will simply run a single action.

The actions and filters now take a const ObActionListRun* which describes
the user event which triggered the actions/filters to run.

The action_list_run() function can also run filters, yay.  However...

TODO:
1. the filters' client sets are not passed to actions yet. do this.
2. make action(s) to change config options
   includes key and mouse binding
3. rm -rf *xml*
52 files changed:
Makefile.am
openbox/action.c
openbox/action.h
openbox/action_filter.c
openbox/action_filter.h
openbox/action_list.c
openbox/action_list.h
openbox/action_list_run.c [new file with mode: 0644]
openbox/action_list_run.h [new file with mode: 0644]
openbox/action_parser.c
openbox/actions/addremovedesktop.c
openbox/actions/breakchroot.c
openbox/actions/close.c
openbox/actions/cyclewindows.c
openbox/actions/debug.c
openbox/actions/decorations.c
openbox/actions/desktop.c
openbox/actions/directionalwindows.c
openbox/actions/dock.c
openbox/actions/dockautohide.c
openbox/actions/execute.c
openbox/actions/exit.c
openbox/actions/focus.c
openbox/actions/focustobottom.c
openbox/actions/fullscreen.c
openbox/actions/growtoedge.c
openbox/actions/iconify.c
openbox/actions/kill.c
openbox/actions/layer.c
openbox/actions/lower.c
openbox/actions/maximize.c
openbox/actions/move.c
openbox/actions/moverelative.c
openbox/actions/moveresizeto.c
openbox/actions/movetoedge.c
openbox/actions/omnipresent.c
openbox/actions/raise.c
openbox/actions/raiselower.c
openbox/actions/reconfigure.c
openbox/actions/resize.c
openbox/actions/resizerelative.c
openbox/actions/restart.c
openbox/actions/shade.c
openbox/actions/showdesktop.c
openbox/actions/showmenu.c
openbox/actions/unfocus.c
openbox/client_set.c
openbox/filters/all.c
openbox/filters/target.c
openbox/keyboard.c
openbox/menuframe.c
openbox/mouse.c