refactored workspace_next/prev

This commit is contained in:
minus 2015-08-25 15:17:18 +02:00
parent 2e755cf13f
commit 1efda79bf2
3 changed files with 34 additions and 36 deletions

4
include/util.h Normal file
View file

@ -0,0 +1,4 @@
/**
* Wrap i into the range [0, max[
*/
int wrap(int i, int max);