Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用focusstack {.i = +1} 时程序崩溃 #18

Open
s3ch0 opened this issue Mar 24, 2022 · 1 comment
Open

使用focusstack {.i = +1} 时程序崩溃 #18

s3ch0 opened this issue Mar 24, 2022 · 1 comment

Comments

@s3ch0
Copy link

s3ch0 commented Mar 24, 2022

当dwm任意一个窗口,如果没有打开一个终端,这时使用 focusstack {.i= +1} 函数进行窗口切换(也就是按 win + e),程序会崩溃 The X11 connection broke (error 1)

@s3ch0
Copy link
Author

s3ch0 commented Apr 2, 2022

当dwm任意一个窗口,如果没有打开一个终端,这时使用 focusstack {.i= +1} 函数进行窗口切换(也就是按 win + e),程序会崩溃 The X11 connection broke (error 1)

[ 修复bug!! ] 只需要将 dwm.c 文件中 focusstack() 函数中 if(issinglewin(arg)) 里面的focswin(arg); 函数调用删除或注释即可。
即源码中 1068行代码。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant