1 #include "openbox/actions.h"
2 #include "openbox/client.h"
4 static gboolean run_func(ObActionsData *data, gpointer options);
6 void action_iconify_startup(void)
8 actions_register("Iconify",
13 /* Always return FALSE because its not interactive */
14 static gboolean run_func(ObActionsData *data, gpointer options)
17 actions_client_move(data, TRUE);
18 client_iconify(data->client, TRUE, TRUE, FALSE);
19 actions_client_move(data, FALSE);