summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2007-08-20 16:04:23 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2007-08-20 16:04:23 +0200
commit6fa47aefd39360e3340329dd1a7a3f7a450ddd06 (patch)
treef1dd7ba228d8be61f4981127e74adeac7215cdf3
parent3cb5540d5eabf59659fc0356a867ef61e9342ecd (diff)
downloadextrawm-6fa47aefd39360e3340329dd1a7a3f7a450ddd06.tar.gz
extrawm-6fa47aefd39360e3340329dd1a7a3f7a450ddd06.tar.bz2
New action system
-rw-r--r--extrawm.c8
-rw-r--r--extrawm.xml.in26
2 files changed, 8 insertions, 26 deletions
diff --git a/extrawm.c b/extrawm.c
index 057d39f..4d7a58b 100644
--- a/extrawm.c
+++ b/extrawm.c
@@ -173,10 +173,10 @@ static Bool
extraWMInitDisplay (CompPlugin *p,
CompDisplay *d)
{
- extrawmSetToggleRedirectInitiate (d, toggleRedirect);
- extrawmSetToggleAlwaysOnTopInitiate (d, toggleAlwaysOnTop);
- extrawmSetToggleStickyInitiate (d, toggleSticky);
- extrawmSetToggleFullscreenInitiate (d, toggleFullscreen);
+ extrawmSetToggleRedirectKeyInitiate (d, toggleRedirect);
+ extrawmSetToggleAlwaysOnTopKeyInitiate (d, toggleAlwaysOnTop);
+ extrawmSetToggleStickyKeyInitiate (d, toggleSticky);
+ extrawmSetToggleFullscreenKeyInitiate (d, toggleFullscreen);
extrawmSetActivateInitiate (d, activateWin);
return TRUE;
diff --git a/extrawm.xml.in b/extrawm.xml.in
index c541064..fcf8314 100644
--- a/extrawm.xml.in
+++ b/extrawm.xml.in
@@ -8,40 +8,22 @@
<option name="activate" type="action">
<_short>Activate Window</_short>
<_long>Activate a given window</_long>
- <allowed/>
- <default/>
</option>
- <option name="toggle_redirect" type="action">
+ <option name="toggle_redirect_key" type="key">
<_short>Toggle Redirect</_short>
<_long>Toggle window redirect</_long>
- <allowed key="true"/>
- <default>
- <key/>
- </default>
</option>
- <option name="toggle_fullscreen" type="action">
+ <option name="toggle_fullscreen_key" type="key">
<_short>Toggle Fullscreen</_short>
<_long>Toggle window fullscreen</_long>
- <allowed key="true"/>
- <default>
- <key/>
- </default>
</option>
- <option name="toggle_always_on_top" type="action">
+ <option name="toggle_always_on_top_key" type="key">
<_short>Toggle Always-On-Top</_short>
<_long>Toggle always on top for the active window</_long>
- <allowed key="true"/>
- <default>
- <key/>
- </default>
</option>
- <option name="toggle_sticky" type="action">
+ <option name="toggle_sticky_key" type="key">
<_short>Toggle Sticky</_short>
<_long>Toggle window stickyness</_long>
- <allowed key="true"/>
- <default>
- <key/>
- </default>
</option>
</display>
</plugin>