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

After pinning with AH2 version, I get an error when switching desktops by number. #44

Open
jeffchiou opened this issue Jun 8, 2023 · 0 comments

Comments

@jeffchiou
Copy link

Before pinning any windows, switching desktops by number works fine. After pinning, I get an error.
image
I fixed it by changing line 597 from

if (guid_to_desktopNum[strGUID] == desktopNum) {

to

if (guid_to_desktopNum.Get(strGUID, -999) == desktopNum) {

but I don't know if that's a good fix or not.

I'm using Windows 11 and AHK 2.0.2

FuPeiJiang added a commit that referenced this issue Jun 19, 2023
FuPeiJiang added a commit that referenced this issue Jun 19, 2023
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