X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=src%2Fwindows.h;h=e55644475320767a1744e5abd7ba1c12e6a94d98;hb=32de5451545b3ba43c1dbd379d2a5e312d7e51dd;hp=98f5d9a870a119c3ed08962b2b7aaf992ec83553;hpb=8d8eba7405f426c45fd059a17d2f00cfb21c5253;p=plomrogue diff --git a/src/windows.h b/src/windows.h index 98f5d9a..e556444 100644 --- a/src/windows.h +++ b/src/windows.h @@ -148,8 +148,11 @@ extern void cycle_active_win(struct WinMeta * wmeta, char dir); /* Move active window forwards (set dir="f") or backwards (set dir="b"). Wrap - * around in the window chain if start / end of it is met. */ -extern void shift_active_win(struct WinMeta * wmeta, char dir); + * around in the window chain if start / end of it is met. + * + * Returns 0 on success, 1 on (ncurses window/pad memory allocation) error. + */ +extern uint8_t shift_active_win(struct WinMeta * wmeta, char dir);