mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
handle @ better in winsize
This commit is contained in:
parent
8b459713b5
commit
57d2613621
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue