Commit Graph

8 Commits

Author SHA1 Message Date
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