mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-18 22:05:28 -05:00
fix: miss apply some config
This commit is contained in:
parent
64f13f6598
commit
960a8ecb41
2 changed files with 55 additions and 3 deletions
|
|
@ -4172,6 +4172,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);
|
||||
|
|
@ -4643,6 +4646,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};
|
||||
|
|
@ -4920,8 +4925,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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue