This website requires JavaScript.
Explore
Help
Sign In
alex
/
swayfx
Watch
1
Star
0
Fork
You've already forked swayfx
0
Code
Issues
Pull requests
Actions
Packages
Projects
Releases
Wiki
Activity
23f040133d
swayfx
/
sway
/
util.c
6 lines
81 B
C
Raw
Normal View
History
Unescape
Escape
added missing util.h/c stuff
2015-08-26 03:53:59 +10:00
#
include
"util.h"
refactored workspace_next/prev
2015-08-25 23:17:18 +10:00
int
wrap
(
int
i
,
int
max
)
{
return
(
(
i
%
max
)
+
max
)
%
max
;
}
Reference in a new issue
Copy permalink