fix initial x y
This commit is contained in:
parent
ac9d504d13
commit
503f601cb0
1 changed files with 2 additions and 2 deletions
|
|
@ -323,11 +323,11 @@ xattach(char *label)
|
||||||
* command line and allow the traditional X options.
|
* command line and allow the traditional X options.
|
||||||
*/
|
*/
|
||||||
mask = 0;
|
mask = 0;
|
||||||
|
x = 0;
|
||||||
|
y = 0;
|
||||||
if(winsize){
|
if(winsize){
|
||||||
if(parsewinsize(winsize, &r, &havemin) < 0)
|
if(parsewinsize(winsize, &r, &havemin) < 0)
|
||||||
sysfatal("%r");
|
sysfatal("%r");
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
}else{
|
}else{
|
||||||
/*
|
/*
|
||||||
* Parse the various X resources. Thanks to Peter Canning.
|
* Parse the various X resources. Thanks to Peter Canning.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue