X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.h;h=f940f7eacd5e7b688f169344e56a582074689867;hb=b27343a314efa7f42510beaee2c7260a54bbf7ac;hp=78f2176fc0df0722f181dfc67c90e263837d1042;hpb=eb51015bc39dead34d041ab48fec51a56ba99e7a;p=chaz%2Fopenbox diff --git a/openbox/action.h b/openbox/action.h index 78f2176f..f940f7ea 100644 --- a/openbox/action.h +++ b/openbox/action.h @@ -58,6 +58,7 @@ struct InteractiveAction { struct InterDirectionalAction{ struct InteractiveAction inter; ObDirection direction; + gboolean dialog; }; struct DirectionalAction{ @@ -67,7 +68,7 @@ struct DirectionalAction{ struct Execute { struct AnyAction any; - char *path; + gchar *path; }; struct ClientAction { @@ -81,7 +82,7 @@ struct Activate { struct MoveResizeRelative { struct AnyAction any; - int delta; + gint delta; }; struct SendToDesktop { @@ -105,7 +106,7 @@ struct Desktop { struct Layer { struct AnyAction any; - int layer; /* < 0 = below, 0 = normal, > 0 = above */ + gint layer; /* < 0 = below, 0 = normal, > 0 = above */ }; struct DesktopDirection { @@ -123,13 +124,14 @@ struct MoveResize { struct ShowMenu { struct AnyAction any; - char *name; + gchar *name; }; struct CycleWindows { struct InteractiveAction inter; gboolean linear; gboolean forward; + gboolean dialog; }; union ActionData { @@ -209,8 +211,6 @@ void action_run_list(GSList *acts, struct _ObClient *c, ObFrameContext context, #define action_run(a, c, s) \ action_run_list(a, c, OB_FRAME_CONTEXT_NONE, s, 0, -1, -1, FALSE, FALSE) -/*! This is only for internal usage, i.e. not meant for user bindings and - such! */ void action_run_string(const gchar *name, struct _ObClient *c); /* Execute */ @@ -271,6 +271,8 @@ void action_maximize_vert(union ActionData *data); 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 */ @@ -306,6 +308,8 @@ void action_send_to_layer(union ActionData *data); /* Layer */ void action_toggle_layer(union ActionData *data); /* Any */ +void action_toggle_dockautohide(union ActionData *data); +/* Any */ void action_toggle_show_desktop(union ActionData *data); /* Any */ void action_show_desktop(union ActionData *data);