From f045d8db17b4c7c2ecfec2ef24039fdb350bab07 Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 23 Dec 2009 14:17:16 +0100 Subject: Second part of the "Focus click" issue. --- dalos.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dalos.lua b/dalos.lua index c8d04df..c966436 100644 --- a/dalos.lua +++ b/dalos.lua @@ -228,7 +228,7 @@ dalosp.canvas = { end, focus_cb = function (self, focus) - if focus == 0 and not self.stateful.rghtbutton and not self.stateful.leftbutton then self:button_cb() end + if focus == 0 and (self.stateful.rghtbutton or self.stateful.leftbutton) then self:button_cb() end end, stypes = { -- cgit v1.2.3