openbox fork to make it act a bit more like ryudo
881076d2a8
This allows the If action to run queries against a client other than the target of the actions being run, for example to check state on the focused window while performing actions on another window during focus cycling. The syntax looks like <action name="If"> <query target="default"> <title>FooBar</title> <maximized>yes</maximized> </query> <query target="focus"> <desktop>3</desktop> </query> <then> <action name="NextDesktop"/> </then> </action> The above checks the client window that the actions will run on to verify that its title is "FooBar" and that it is maximized. If that is true, it also checks that the currently focused client window is on desktop 3. If that is true also, then it runs the NextDesktop action. The target="" option can be set to "default" which uses the client window that the actions will run on, or it can be "focus" which uses the client window that is currently focused. The <query> tag is optional, and the conditions inside the query can be placed directly inside the If <action> tag, as they were before this change. In that case, a default <query> tag is assumed with target="default" which matches the previous behaviour. Multiple <query> tags can be present, and they must all be true in order to run the actions in <then>. If any one is false, the actions in <else> will be run instead. |
||
---|---|---|
data | ||
debian | ||
doc | ||
m4 | ||
obrender | ||
obt | ||
openbox | ||
po | ||
release | ||
tests | ||
themes | ||
tools | ||
.gitignore | ||
AUTHORS | ||
bootstrap | ||
CHANGELOG | ||
COMPLIANCE | ||
configure.ac | ||
COPYING | ||
gettext.h | ||
HACKING | ||
install-sh | ||
makedeb | ||
Makefile.am | ||
README | ||
README.GIT | ||
README.NLS | ||
version.h.in |
Openbox Copyright (C) 2004 Mikael Magnusson Copyright (C) 2002 Dana Jansens ---- This software is OSI Certified Open Source Software. OSI Certified is a certification mark of the Open Source Initiative. ---- This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. See the COPYING file for a copy of the GNU General Public License.