Quantcast
WoWInterface - View Single Post - Consolidated Changes of all Types - Live vs Build 21691
View Single Post
05-23-16, 09:37 PM   #19
Vrul
An Onyxian Warder
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 366
Instead of the CVar gxResolution you need to use this instead:
Code:
local monitorIndex = (tonumber(GetCVar('gxMonitor')) or 0) + 1
local resolution = select(GetCurrentResolution(monitorIndex), GetScreenResolutions(monitorIndex))