-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuManage.h
More file actions
24 lines (21 loc) · 903 Bytes
/
Copy pathuManage.h
File metadata and controls
24 lines (21 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef U_MANAGE__H
#define U_MANAGE__H
struct window_state {
int force; /* Exiting, so report anyway */
unsigned long last_idle; /* Milliseconds of idle time */
Window window_id;
unsigned char window_title[512];
time_t window_start, /* Use of window started at (s) */
idle_start, /* Idle started at (s) */
idle_accumulated, /* Idle with window focus (s) */
last_jiggle, /* Start of the last mouse move */
weather_since,
jiggle_since,
pause_since;
char csv[1024]; /* For reporting - output only */
};
void handle_break (int);
void handle_alarm (int);
void window_state_init (struct window_state *);
void get_executable_path (char *, size_t);
#endif