home · contact · privacy
shift_active_win() returns error code of its update_wins() call.
[plomrogue] / src / windows.h
index 98f5d9a870a119c3ed08962b2b7aaf992ec83553..e55644475320767a1744e5abd7ba1c12e6a94d98 100644 (file)
@@ -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);