mirror of
https://github.com/swaywm/sway.git
synced 2025-04-05 03:47:54 +03:00
refactored workspace_next/prev
This commit is contained in:
parent
2e755cf13f
commit
1efda79bf2
3 changed files with 34 additions and 36 deletions
4
include/util.h
Normal file
4
include/util.h
Normal file
|
@ -0,0 +1,4 @@
|
|||
/**
|
||||
* Wrap i into the range [0, max[
|
||||
*/
|
||||
int wrap(int i, int max);
|
Loading…
Add table
Add a link
Reference in a new issue