vncs: fix mistake "screen" vs "gscreen", thanks eekee
This commit is contained in:
parent
d263134394
commit
c8a71691b4
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ vncaccept(Vncs *v)
|
|||
if(!shared)
|
||||
killclients(v);
|
||||
|
||||
v->dim = rectsubpt(screen->r, screen->r.min);
|
||||
v->dim = rectsubpt(gscreen->r, gscreen->r.min);
|
||||
vncwrpoint(v, v->dim.max);
|
||||
if(verbose)
|
||||
fprint(2, "%V: send screen size %R\n", v, v->dim);
|
||||
|
|
Loading…
Reference in a new issue