Ejemplo n.º 1
0
Archivo: layer.c Proyecto: godvmxi/obwm
void action_layer_startup(void)
{
    actions_register("ToggleAlwaysOnTop", setup_func_top, g_free,
                     run_func, NULL, NULL);
    actions_register("ToggleAlwaysOnBottom", setup_func_bottom, g_free,
                     run_func, NULL, NULL);
    actions_register("SendToTopLayer", setup_sendtop_func, g_free,
                     run_func, NULL, NULL);
    actions_register("SendToBottomLayer", setup_sendbottom_func, g_free,
                     run_func, NULL, NULL);
    actions_register("SendToNormalLayer", setup_sendnormal_func, g_free,
                     run_func, NULL, NULL);
}
Ejemplo n.º 2
0
void action_execute_startup(void)
{
    actions_register("Execute", setup_func, free_func, run_func);
    actions_set_shutdown("Execute", shutdown_func);

    client_add_destroy_notify(client_dest, NULL);
}
Ejemplo n.º 3
0
void action_raise_startup(void)
{
    actions_register("Raise",
                     NULL, NULL,
                     run_func,
                     NULL, NULL);
}
Ejemplo n.º 4
0
void action_breakchroot_startup(void)
{
    actions_register("BreakChroot",
                     NULL, NULL,
                     run_func,
                     NULL, NULL);
}
Ejemplo n.º 5
0
void action_resize_startup(void)
{
    actions_register("Resize",
                     setup_func,
                     free_func,
                     run_func,
                     NULL, NULL);
}
Ejemplo n.º 6
0
void action_addremovedesktop_startup(void)
{
    actions_register("AddDesktop",
                     setup_add_func,
                     free_func,
                     run_func,
                     NULL, NULL);
    actions_register("RemoveDesktop",
                     setup_remove_func,
                     free_func,
                     run_func,
                     NULL, NULL);
    actions_register("AddDesktopLast",
                     setup_addlast_func,
                     free_func,
                     run_func,
                     NULL, NULL);
    actions_register("RemoveDesktopLast",
                     setup_removelast_func,
                     free_func,
                     run_func,
                     NULL, NULL);
    actions_register("AddDesktopCurrent",
                     setup_addcurrent_func,
                     free_func,
                     run_func,
                     NULL, NULL);
    actions_register("RemoveDesktopCurrent",
                     setup_removecurrent_func,
                     free_func,
                     run_func,
                     NULL, NULL);
}
Ejemplo n.º 7
0
void action_maximize_startup(void)
{
    actions_register("MaximizeFull", setup_both_func, g_free,
                     run_func_on, NULL, NULL);
    actions_register("UnmaximizeFull", setup_both_func, g_free,
                     run_func_off, NULL, NULL);
    actions_register("ToggleMaximizeFull", setup_both_func, g_free,
                     run_func_toggle, NULL, NULL);
    actions_register("MaximizeHorz", setup_horz_func, g_free,
                     run_func_on, NULL, NULL);
    actions_register("UnmaximizeHorz", setup_horz_func, g_free,
                     run_func_off, NULL, NULL);
    actions_register("ToggleMaximizeHorz", setup_horz_func, g_free,
                     run_func_toggle, NULL, NULL);
    actions_register("MaximizeVert", setup_vert_func, g_free,
                     run_func_on, NULL, NULL);
    actions_register("UnmaximizeVert", setup_vert_func, g_free,
                     run_func_off, NULL, NULL);
    actions_register("ToggleMaximizeVert", setup_vert_func, g_free,
                     run_func_toggle, NULL, NULL);
}
Ejemplo n.º 8
0
void action_growtoedge_startup(void)
{
    actions_register("GrowToEdge", setup_grow_func,
                     free_func, run_func);
    actions_register("GrowToFill", setup_fill_func,
                     free_func, run_func);
    actions_register("ShrinkToEdge", setup_shrink_func,
                     free_func, run_func);
    /* 3.4-compatibility */
    actions_register("GrowToEdgeNorth", setup_north_func, free_func, run_func);
    actions_register("GrowToEdgeSouth", setup_south_func, free_func, run_func);
    actions_register("GrowToEdgeEast", setup_east_func, free_func, run_func);
    actions_register("GrowToEdgeWest", setup_west_func, free_func, run_func);
}
Ejemplo n.º 9
0
void action_move_startup(void)
{
    actions_register("Move",
                     NULL, NULL,
                     run_func);
}
Ejemplo n.º 10
0
void action_debug_startup(void)
{
    actions_register("Debug", setup_func, free_func, run_func);
}
Ejemplo n.º 11
0
void action_reconfigure_startup(void)
{
    actions_register("Reconfigure", NULL, NULL, run_func);
}
Ejemplo n.º 12
0
void action_lower_startup(void)
{
    actions_register("Lower",
                     NULL, NULL,
                     run_func);
}
Ejemplo n.º 13
0
void action_kill_startup(void)
{
	actions_register("Kill", NULL, NULL, run_func);
}
Ejemplo n.º 14
0
void action_focus_startup(void)
{
    actions_register("Focus", setup_func, free_func, run_func);
}
Ejemplo n.º 15
0
void action_showmenu_startup(void)
{
    actions_register("ShowMenu", setup_func, free_func, run_func);
}
Ejemplo n.º 16
0
void action_unfocus_startup(void)
{
    actions_register("Unfocus", NULL, NULL, run_func);
}
Ejemplo n.º 17
0
void action_omnipresent_startup(void)
{
	actions_register("ToggleOmnipresent", NULL, NULL, run_func_toggle);
}
Ejemplo n.º 18
0
void action_focustobottom_startup(void)
{
    actions_register("FocusToBottom", NULL, NULL, run_func);
}
Ejemplo n.º 19
0
void action_moveresizeto_startup(void)
{
    actions_register("MoveResizeTo", setup_func, free_func, run_func);
    /* 3.4-compatibility */
    actions_register("MoveToCenter", setup_center_func, free_func, run_func);
}
Ejemplo n.º 20
0
void action_resizerelative_startup(void)
{
    actions_register("ResizeRelative", setup_func, free_func, run_func);
}