Skip to content

Commit

Permalink
fix not all windows showing, fix _dll_GetName_Win11
Browse files Browse the repository at this point in the history
  • Loading branch information
FuPeiJiang committed May 25, 2022
1 parent fc8f2dc commit d5e15ec
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion _VD.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ class VD {
return desktopName
}
*/
_dll_GetName_Win11() {
_dll_GetName_Win11(IVirtualDesktop) {
GetName:=this._vtable(IVirtualDesktop,6)
DllCall(GetName, "UPtr", IVirtualDesktop, "Ptr*", Handle_DesktopName)
if (Handle_DesktopName==0) {
Expand Down
1 change: 0 additions & 1 deletion other examples/Task Switcher.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ for k, v in arrayOfWindowsInfo {
ArrForMenuItemPos.Push("")
Menu, windows, Add
ArrForMenuItemPos.Push("")
continue
}

title:=SubStr(v.title, 1, MenuItemTitleLength)
Expand Down
1 change: 0 additions & 1 deletion other examples/Task Switcher2.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ for k, v in arrayOfWindowsInfo {
Gui, Add, Text, % "x10 hwndOMG", % "Desktop " v.desktopNum
ControlGetPos, Xpos, Ypos, Width, Height,, % "ahk_id " OMG
Gui, Add, Text, % "x+3 y+-5 0x00000005 h1 w" guiWidth - (Xpos + Width)
continue
}

title:=SubStr(v.title, 1, MenuItemTitleLength)
Expand Down
1 change: 0 additions & 1 deletion other examples/Task Switcher3.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ for k, v in arrayOfWindowsInfo {
Gui, Add, Text, % "x10 hwndOMG", % _name
ControlGetPos, Xpos, Ypos, Width, Height,, % "ahk_id " OMG
Gui, Add, Text, % "x+3 y+-5 0x00000005 h1 w" guiWidth - (Xpos + Width)
continue
}

title:=SubStr(v.title, 1, MenuItemTitleLength)
Expand Down

0 comments on commit d5e15ec

Please sign in to comment.