fix: miss apply some config

This commit is contained in:
DreamMaoMao 2025-09-29 20:57:22 +08:00
parent 56a060a840
commit 4708c10b89
2 changed files with 55 additions and 3 deletions

View file

@ -4114,6 +4114,9 @@ void exchange_two_client(Client *c1, Client *c2) {
void // 17
run(char *startup_cmd) {
set_env();
char autostart_temp_path[1024];
/* Add a Unix socket to the Wayland display. */
const char *socket = wl_display_add_socket_auto(dpy);
@ -4585,6 +4588,8 @@ void setup(void) {
setenv("XCURSOR_SIZE", "24", 1);
setenv("XDG_CURRENT_DESKTOP", "mango", 1);
parse_config();
init_baked_points();
int drm_fd, i, sig[] = {SIGCHLD, SIGINT, SIGTERM, SIGPIPE};
struct sigaction sa = {.sa_flags = SA_RESTART, .sa_handler = handlesig};
@ -4866,8 +4871,6 @@ void setup(void) {
"failed to setup XWayland X server, continuing without it\n");
}
#endif
parse_config();
init_baked_points();
}
void startdrag(struct wl_listener *listener, void *data) {