Originally Posted by zork
You can fix it. Copy the complete menu from the Blizzard FrameXML and remove every focus entry. Dumb, but works.
|
If you don't have Raid Frames for your layout ...
Code:
do -- fix SET_FOCUS & CLEAR_FOCUS errors
for k,v in pairs(UnitPopupMenus) do
if k ~= "RAID" and k ~= "RAID_PLAYER" then
for x,y in pairs(UnitPopupMenus[k]) do
if y == "SET_FOCUS" then
table.remove(UnitPopupMenus[k],x)
elseif y == "CLEAR_FOCUS" then
table.remove(UnitPopupMenus[k],x)
end
end
end
end
end
if you do have Raid Frames ...
Code:
do -- fix SET_FOCUS & CLEAR_FOCUS errors
for k,v in pairs(UnitPopupMenus) do
for x,y in pairs(UnitPopupMenus[k]) do
if y == "SET_FOCUS" then
table.remove(UnitPopupMenus[k],x)
elseif y == "CLEAR_FOCUS" then
table.remove(UnitPopupMenus[k],x)
end
end
end
end