-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
当使用xdotool获取窗口ID时,终端输出最后包含一个回车,如果查询到多个窗口,代码中直接使用按回车split,会导致生成的列表最后存在一个空字符串,这在将窗口ID转化为int类型时会导致错误。 Log: 修复获取窗口id失败
- Loading branch information
1 parent
3e3ef37
commit c5eebb6
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters