make ten_ms local to run (#101)
ten_ms needed to be a global but after the following commit
3724d3fc17
this no longer holds true.
it can simply be local to run, as it's not used anywhere else.
This commit is contained in:
parent
80c5a1cd9f
commit
0c66c0e25f
3
main.c
3
main.c
|
@ -682,13 +682,12 @@ void on_buttonpress(XButtonEvent *bev)
|
||||||
prefix = 0;
|
prefix = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct timespec ten_ms = {0, 10000000};
|
|
||||||
|
|
||||||
void run(void)
|
void run(void)
|
||||||
{
|
{
|
||||||
int xfd;
|
int xfd;
|
||||||
fd_set fds;
|
fd_set fds;
|
||||||
struct timeval timeout;
|
struct timeval timeout;
|
||||||
|
const struct timespec ten_ms = {0, 10000000};
|
||||||
bool discard, init_thumb, load_thumb, to_set;
|
bool discard, init_thumb, load_thumb, to_set;
|
||||||
XEvent ev, nextev;
|
XEvent ev, nextev;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue