summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-12-23 14:17:16 +0100
committerPixel <pixel@nobis-crew.org>2009-12-23 14:17:16 +0100
commitf045d8db17b4c7c2ecfec2ef24039fdb350bab07 (patch)
tree89e4a6af5972afd70e7d98039dcbb0a26196b9de
parent331a9e3c1153b49b5a6bd7246a0b600ab3b11db8 (diff)
Second part of the "Focus click" issue.
-rw-r--r--dalos.lua2
1 files changed, 1 insertions, 1 deletions
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 = {