Expose showhideclient to external tools (fsignal, IPC) ref #287

This commit is contained in:
bakkeby 2022-08-13 16:24:48 +02:00
parent 2d34596ad0
commit b93a5de558
2 changed files with 7 additions and 0 deletions

View File

@ -1470,6 +1470,9 @@ static Signal signals[] = {
{ "viewall", viewallex },
{ "viewex", viewex },
{ "toggleview", toggleview },
#if BAR_WINTITLEACTIONS_PATCH
{ "showhideclient", showhideclient },
#endif // BAR_WINTITLEACTIONS_PATCH
#if SHIFTBOTH_PATCH
{ "shiftboth", shiftboth },
#endif // SHIFTBOTH_PATCH
@ -1673,6 +1676,9 @@ static IPCCommand ipccommands[] = {
#if SETBORDERPX_PATCH
IPCCOMMAND( setborderpx, 1, {ARG_TYPE_SINT} ),
#endif // SETBORDERPX_PATCH
#if BAR_WINTITLEACTIONS_PATCH
IPCCOMMAND( showhideclient, 1, {ARG_TYPE_NONE} ),
#endif // BAR_WINTITLEACTIONS_PATCH
#if SHIFTBOTH_PATCH
IPCCOMMAND( shiftboth, 1, {ARG_TYPE_SINT} ),
#endif // SHIFTBOTH_PATCH

View File

@ -16,6 +16,7 @@ case $# in
self_restart) ;&
setlayout) ;&
setcfact) ;&
showhideclient) ;&
switchcol) ;&
view) ;&
viewall) ;&