Přemysl Eric Janouch
ab5ca0cf8b
Elaborate on avoiding XDG_RUNTIME_DIR
2020-10-26 23:09:23 +01:00
Přemysl Eric Janouch
f699b89dad
Reorder headers
2020-10-02 02:08:39 +02:00
Přemysl Eric Janouch
9244d2b657
Write a start marker to the DB event table
2020-10-02 01:55:46 +02:00
Přemysl Eric Janouch
4302fc4baf
Use an empty string rather than "broken"
...
If we fail to retrieve the title, then there is no title,
though this doesn't mean the same as "no window",
for which we have NULL.
2020-10-02 01:50:37 +02:00
Přemysl Eric Janouch
764dbaa126
Nullify a NULL concern
...
sqlite3_bind_text() is documented to bind NULL.
2020-10-02 01:37:08 +02:00
Přemysl Eric Janouch
7d4695d8bd
Ensure the inactivity alarm is launched on startup
...
We forgot to flush.
2020-10-02 01:32:19 +02:00
Přemysl Eric Janouch
3482ee66a3
Watch changes of WM_CLASS
...
There may be some interesting information in there.
Sometimes it may be hard to identify applications by their title.
2020-10-02 01:31:46 +02:00
Přemysl Eric Janouch
86b0579cb7
Write events to the SQLite database
2020-09-25 07:20:49 +02:00
Přemysl Eric Janouch
27a63e3414
Collect events in the main thread
2020-09-25 06:45:27 +02:00
Přemysl Eric Janouch
6e3f3c950d
Convert from Xlib xcb
...
This will make it easier to convert this project to Go/xgb later,
even though the SYNC extension isn't currently supported there.
So far unresolved: error handling.
2020-09-25 05:26:46 +02:00
Přemysl Eric Janouch
93c61425b3
Cleanup
2020-09-23 16:47:03 +02:00
Přemysl Eric Janouch
60bfaa1a97
Convert main source file from Vala to C
...
Bindings are incredible pain, this will be much easier.
2020-09-23 16:00:06 +02:00