} else if (!g_ascii_strcasecmp(name, "previousdesktoprowwrap")) {
a = action_new(action_previous_desktop_row);
a->data.nextprevdesktop.wrap = TRUE;
+ } else if (!g_ascii_strcasecmp(name, "toggledecorations")) {
+ a = action_new(action_toggle_decorations);
} else if (!g_ascii_strcasecmp(name, "move")) {
a = action_new(action_move);
} else if (!g_ascii_strcasecmp(name, "resize")) {
return &self->icons[si];
return &self->icons[li];
}
-
-void client_disable_decorations(Client *self, int flags)
-{
- self->disabled_decorations = flags;
- client_setup_decor_and_functions(self);
-}
/*! Updates the window's kwm icon */
void client_update_kwm_icon(Client *self);
-/* Disable decorations on the client.
- @param flags A mask of Decoration enum values which will be disabled on the
- client if they would normally have been displayed.
-*/
-void client_disable_decorations(Client *self, int flags);
-
/*! Set up what decor should be shown on the window and what functions should
be allowed (Client::decorations and Client::functions).
This also updates the NET_WM_ALLOWED_ACTIONS hint.