<xs:enumeration value="ToggleAlwaysOnBottom"/>
<xs:enumeration value="ToggleAlwaysOnTop"/>
<xs:enumeration value="ToggleDecorations"/>
+ <xs:enumeration value="ToggleFullscreen"/>
<xs:enumeration value="ToggleMaximizeFull"/>
<xs:enumeration value="ToggleMaximizeHorz"/>
<xs:enumeration value="ToggleMaximizeVert"/>
action_toggle_maximize_vert,
setup_client_action
},
+ {
+ "togglefullscreen",
+ action_toggle_fullscreen,
+ setup_client_action
+ },
{
"sendtodesktop",
action_send_to_desktop,
client_action_end(data);
}
+void action_toggle_fullscreen(union ActionData *data)
+{
+ client_action_start(data);
+ client_fullscreen(data->client.any.c,
+ !(data->client.any.c->fullscreen), TRUE);
+ client_action_end(data);
+}
+
void action_send_to_desktop(union ActionData *data)
{
ObClient *c = data->sendto.any.c;
void action_unmaximize_vert(union ActionData *data);
/* ClientAction */
void action_toggle_maximize_vert(union ActionData *data);
+/* ClientAction */
+void action_toggle_fullscreen(union ActionData *data);
/* SendToDesktop */
void action_send_to_desktop(union ActionData *data);
/* SendToDesktopDirection */