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