This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
sway
Watch
1
Star
0
Fork
You've already forked sway
0
mirror of
https://github.com/swaywm/sway.git
synced
2024-08-02 16:41:11 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
9a1e95b7da
sway
/
sway
/
util.c
6 lines
81 B
C
Raw
Normal View
History
Unescape
Escape
added missing util.h/c stuff
2015-08-25 17:53:59 +00:00
#
include
"util.h"
refactored workspace_next/prev
2015-08-25 13:17:18 +00:00
int
wrap
(
int
i
,
int
max
)
{
return
(
(
i
%
max
)
+
max
)
%
max
;
}
Reference in a new issue
Copy permalink