Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions axoverlay/app/axoverlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <errno.h>
#include <glib-unix.h>
#include <glib.h>
#include <stdlib.h>
#include <syslog.h>

#define PALETTE_VALUE_RANGE 255.0
Expand Down Expand Up @@ -357,6 +358,8 @@ static gboolean signal_handler(gpointer loop) {
* API axoverlay.
*/
int main(void) {
// Set XDG cache home to application's localdata directory for fontconfig
setenv("XDG_CACHE_HOME", "/usr/local/packages/axoverlay/localdata", 1);
GMainLoop* loop = NULL;
GError* error = NULL;
GError* error_text = NULL;
Expand Down