From cee0a8fc0cee6bbae06eafd32ead538b924e2f19 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Mon, 13 Sep 2010 21:45:03 +0000 Subject: [PATCH] Add support for CompactRaidFrames. Thanks to Sylvanaar for testing and writing this code. --- Clique.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Clique.lua b/Clique.lua index e517dec..1b98864 100644 --- a/Clique.lua +++ b/Clique.lua @@ -109,6 +109,12 @@ function Clique:Enable() end hooksecurefunc("CreateFrame", raidFunc) + + --CompactUnitFrame_SetUpFrame(frame, info.setUpFunc); + hooksecurefunc("CompactUnitFrame_SetUpFrame", + function(frame, ...) + ClickCastFrames[frame] = true + end ) -- Create our slash command self.cmd = self:InitializeSlashCommand("Clique commands", "CLIQUE", "clique") -- 1.7.9.5