diff options
author | Eitan Isaacson <eitan@monotonous.org> | 2009-12-07 11:37:14 -0800 |
---|---|---|
committer | Eitan Isaacson <eitan@monotonous.org> | 2009-12-07 11:37:14 -0800 |
commit | 449646f0fa0e43c4f9dc9abf735d23a7f0c27cb4 (patch) | |
tree | fa500c4f30e458272ca5cbdc6ba697203c7fd026 | |
parent | 7e5033d0ba30ecf2bcaaf1ba279c71f16a8588b6 (diff) | |
download | caribou-transparency.tar.gz |
broke some linestransparency
-rw-r--r-- | src/caribou/window.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/caribou/window.py b/src/caribou/window.py index 1c01575..20caad3 100644 --- a/src/caribou/window.py +++ b/src/caribou/window.py @@ -129,10 +129,13 @@ class CaribouWindow(gtk.Window): self.allocation.width, self.allocation.height)) - if CaribouWindowPlacement.SCREEN != self._default_placement.x.stickto or \ - CaribouWindowPlacement.SCREEN != self._default_placement.y.stickto: + if CaribouWindowPlacement.SCREEN != \ + self._default_placement.x.stickto or \ + CaribouWindowPlacement.SCREEN != \ + self._default_placement.y.stickto: if self._entry_location != gtk.gdk.Rectangle(0, 0, 0, 0): - distance2 = self._get_distance_to_bbox(x, y, self._entry_location) + distance2 = self._get_distance_to_bbox(x, y, + self._entry_location) distance = min(distance, distance2) opacity = (self.max_alpha - self.min_alpha) * \ |