Open GoogleCodeExporter opened 8 years ago
From the empirical tests I did, the problem may come from the file tray.c in
the tray_update function where the test with tray.edge uses the wrong direction
and "East" should be replaced by "West" in the test where the x position is set
to 0.
You can find a patch attached which corrects this and updates the default
configuration and manpages to tell it is the East side which is used.
Original comment by harterga...@gmail.com
on 15 May 2012 at 9:15
Attachments:
Just to show the "important" part of the patch
--- a/cmd/tray/tray.c Fri Apr 13 22:37:30 2012 -0400
+++ b/cmd/tray/tray.c Tue May 15 11:13:32 2012 +0200
@@ -214,7 +214,7 @@
r = Rpt(ZP, offset);
p = subpt(scr.rect.max, r.max);
- if(tray.edge & East)
+ if(tray.edge & West)
p.x = 0;
Original comment by harterga...@gmail.com
on 15 May 2012 at 9:16
There may still be problems in others lines related to East and West, like
the"hints.grav" lines, but I do not understand what they are doing. I found the
problem by trial and error, not full code understanding.
Original comment by harterga...@gmail.com
on 15 May 2012 at 11:37
Original issue reported on code.google.com by
harterga...@gmail.com
on 14 May 2012 at 12:16