thandle @ better in winsize - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 57d2613621107f7ee9d9e717c3c2903b1caf4bbe
 (DIR) parent 8b459713b513630ade3774c806c96dd4da29b99a
 (HTM) Author: rsc <devnull@localhost>
       Date:   Wed, 26 Jan 2005 04:02:26 +0000
       
       handle @ better in winsize
       
       Diffstat:
         M src/libdraw/x11-init.c              |       4 ++++
       
       1 file changed, 4 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/src/libdraw/x11-init.c b/src/libdraw/x11-init.c
       t@@ -466,6 +466,10 @@ xattach(char *label)
                        ch.x = r.min.x;
                        ch.y = r.min.y;
                        XConfigureWindow(_x.display, _x.drawable, CWX|CWY, &ch);
       +                /*
       +                 * Must pretend origin is 0,0 for X.
       +                 */
       +                r = Rect(0,0,Dx(r),Dy(r));
                }
                /*
                 * Look up clipboard atom.