mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-30 13:14:45 -04:00
opt: make env can set for wlroots
This commit is contained in:
parent
444e0decea
commit
d25b8ec2f1
1 changed files with 2 additions and 2 deletions
|
|
@ -5408,8 +5408,6 @@ cleanup:
|
||||||
void // 17
|
void // 17
|
||||||
run(char *startup_cmd) {
|
run(char *startup_cmd) {
|
||||||
|
|
||||||
set_env();
|
|
||||||
|
|
||||||
/* Add a Unix socket to the Wayland display. */
|
/* Add a Unix socket to the Wayland display. */
|
||||||
const char *socket = wl_display_add_socket_auto(dpy);
|
const char *socket = wl_display_add_socket_auto(dpy);
|
||||||
if (!socket)
|
if (!socket)
|
||||||
|
|
@ -6007,6 +6005,8 @@ void setup(void) {
|
||||||
}
|
}
|
||||||
init_baked_points();
|
init_baked_points();
|
||||||
|
|
||||||
|
set_env();
|
||||||
|
|
||||||
int32_t drm_fd, i;
|
int32_t drm_fd, i;
|
||||||
int32_t sig[] = {SIGCHLD, SIGINT,
|
int32_t sig[] = {SIGCHLD, SIGINT,
|
||||||
SIGTERM}; // 不设置SIGPIPE,因为ipc发送失败不应该影响主程序
|
SIGTERM}; // 不设置SIGPIPE,因为ipc发送失败不应该影响主程序
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue