mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
input: Move get_current_time_msec in from util
get_current_time_msec is only used in cursor.c, so we can move it in and
make it static. This is primarily intended to avoid a symbol collision
with wlroots, which we unfortunately do not have a good solution for
yet.
(cherry picked from commit 80315217f7)
This commit is contained in:
parent
ae55861548
commit
04f75e6acc
3 changed files with 7 additions and 12 deletions
|
|
@ -29,12 +29,6 @@ enum movement_unit parse_movement_unit(const char *unit);
|
|||
int parse_movement_amount(int argc, char **argv,
|
||||
struct movement_amount *amount);
|
||||
|
||||
/**
|
||||
* Get the current time, in milliseconds.
|
||||
*/
|
||||
|
||||
uint32_t get_current_time_msec(void);
|
||||
|
||||
/**
|
||||
* Wrap i into the range [0, max]
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue