#include <unistd.h>
#include "window.h"
+#include "main.h"
#include <ucx/buffer.h>
#include <ucx/utils.h>
-#define APP_NAME "MediaPlayer"
-
static XtAppContext app;
static Display *display;
app = XtCreateApplicationContext();
XtAppSetFallbackResources(app, fallback);
- display = XtOpenDisplay(app, NULL, APP_NAME, APP_NAME, NULL, 0, &argc, argv);
+ display = XtOpenDisplay(app, NULL, APP_NAME, APP_CLASS, NULL, 0, &argc, argv);
MainWindow *window = WindowCreate(display);