Skip to content

Commit

Permalink
Expose showhideclient to external tools (fsignal, IPC) ref #287
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkeby committed Aug 13, 2022
1 parent 2d34596 commit b93a5de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config.def.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions patch/dwmc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ case $# in
self_restart) ;&
setlayout) ;&
setcfact) ;&
showhideclient) ;&
switchcol) ;&
view) ;&
viewall) ;&
Expand Down

0 comments on commit b93a5de

Please sign in to comment.