-#include "common/spawn.h"
#include "common/font.h"
+#include "common/log.h"
+#include "common/spawn.h"
#include "config/session.h"
#include "labwc.h"
#include "theme/theme.h"
rcxml_read(config_file);
if (!getenv("XDG_RUNTIME_DIR")) {
- wlr_log(WLR_ERROR, "XDG_RUNTIME_DIR is required to be set");
- return 1;
+ die("XDG_RUNTIME_DIR is unset");
}
struct server server = { 0 };
#define _POSIX_C_SOURCE 200809L
-#include "config/rcxml.h"
-#include "labwc.h"
-#include "theme/theme.h"
-
#include <signal.h>
#include <wlr/types/wlr_data_control_v1.h>
#include <wlr/types/wlr_export_dmabuf_v1.h>
#include <wlr/types/wlr_primary_selection_v1.h>
#include <wlr/types/wlr_screencopy_v1.h>
#include "common/log.h"
+#include "config/rcxml.h"
+#include "labwc.h"
#include "layers.h"
+#include "theme/theme.h"
static struct wlr_compositor *compositor;
static struct wl_event_source *sighup_source;