diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-25 16:12:37 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-25 16:12:37 -0400 |
commit | fa6292ff24082f90886353844b45e99ec965daa5 (patch) | |
tree | 06f9219532f6f057410910dbfe43d3884acd90bc /include/util.h | |
parent | Merge pull request #125 from Luminarys/master (diff) | |
parent | fixed moving to other output and visibility (diff) | |
download | sway-fa6292ff24082f90886353844b45e99ec965daa5.tar.gz sway-fa6292ff24082f90886353844b45e99ec965daa5.tar.zst sway-fa6292ff24082f90886353844b45e99ec965daa5.zip |
Merge pull request #129 from minus7/workspaces
Implemented "move container to workspace"
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h new file mode 100644 index 00000000..8e65e6d6 --- /dev/null +++ b/include/util.h | |||
@@ -0,0 +1,9 @@ | |||
1 | #ifndef _SWAY_UTIL_H | ||
2 | #define _SWAY_UTIL_H | ||
3 | |||
4 | /** | ||
5 | * Wrap i into the range [0, max[ | ||
6 | */ | ||
7 | int wrap(int i, int max); | ||
8 | |||
9 | #endif | ||