fix initial x y

This commit is contained in:
rsc 2004-06-17 16:26:26 +00:00
parent ac9d504d13
commit 503f601cb0

View file

@ -323,11 +323,11 @@ xattach(char *label)
* command line and allow the traditional X options.
*/
mask = 0;
x = 0;
y = 0;
if(winsize){
if(parsewinsize(winsize, &r, &havemin) < 0)
sysfatal("%r");
x = 0;
y = 0;
}else{
/*
* Parse the various X resources. Thanks to Peter Canning.