action toggledockautohide to toggle if the dock autohides
This commit is contained in:
parent
134974e8e2
commit
04c77b7234
2 changed files with 13 additions and 0 deletions
|
@ -676,6 +676,11 @@ ActionString actionstrings[] =
|
|||
action_moveresize,
|
||||
setup_action_resize
|
||||
},
|
||||
{
|
||||
"toggledockautohide",
|
||||
action_toggle_dockautohide,
|
||||
NULL
|
||||
},
|
||||
{
|
||||
"toggleshowdesktop",
|
||||
action_toggle_show_desktop,
|
||||
|
@ -1536,6 +1541,12 @@ void action_toggle_layer(union ActionData *data)
|
|||
client_action_end(data);
|
||||
}
|
||||
|
||||
void action_toggle_dockautohide(union ActionData *data)
|
||||
{
|
||||
config_dock_hide = !config_dock_hide;
|
||||
dock_configure();
|
||||
}
|
||||
|
||||
void action_toggle_show_desktop(union ActionData *data)
|
||||
{
|
||||
screen_show_desktop(!screen_showing_desktop);
|
||||
|
|
|
@ -306,6 +306,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);
|
||||
|
|
Loading…
Reference in a new issue