diff options
author | Pixel <pixel@nobis-crew.org> | 2009-12-23 12:10:41 +0100 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-12-23 12:10:41 +0100 |
commit | 0e6559318d7fafe1cc677e3a62e41666228d253b (patch) | |
tree | 95a274e312e96b08f7dd04849cf288fffa91addd | |
parent | 5fad64d07b6f28605c6f7c40cd65a04167186ae7 (diff) |
Fixing the 'lost focus then click' issues.
-rw-r--r-- | dalos.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -351,6 +351,7 @@ dalosp.canvas = { end else if not self.stateful.linking and self.stateful.leftclk and not self.stateful.dragging then + self.stateful.leftbutton = nil self.stateful.leftclk.obj:activate() elseif self.stateful.linking then local dest = self:findobj(x,y) @@ -392,6 +393,7 @@ dalosp.canvas = { end else if not self.stateful.moving and self.stateful.rghtclk and not self.stateful.dragging then + self.stateful.rghtbutton = nil self.stateful.rghtclk.obj:configure() self:draw() elseif self.menu.x then |