mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
parent
e75dbb6af8
commit
ba60bab3cd
1 changed files with 7 additions and 0 deletions
|
@ -37,6 +37,8 @@ usage(void)
|
|||
void
|
||||
threadmain(int argc, char **argv)
|
||||
{
|
||||
char *p;
|
||||
|
||||
ARGBEGIN{
|
||||
case 'D': /* for good ps -a listings */
|
||||
break;
|
||||
|
@ -52,6 +54,10 @@ threadmain(int argc, char **argv)
|
|||
usage();
|
||||
}ARGEND
|
||||
|
||||
fmtinstall('H', encodefmt);
|
||||
if((p = getenv("DEVDRAWTRACE")) != nil)
|
||||
trace = atoi(p);
|
||||
|
||||
if(srvname == nil) {
|
||||
client0 = mallocz(sizeof(Client), 1);
|
||||
if(client0 == nil){
|
||||
|
@ -417,6 +423,7 @@ gfx_mousetrack(Client *c, int x, int y, int b, uint ms)
|
|||
y = copy->xy.y;
|
||||
b = copy->buttons;
|
||||
ms = copy->msec;
|
||||
c->mouse.resized = 1;
|
||||
}
|
||||
if(x < c->mouserect.min.x)
|
||||
x = c->mouserect.min.x;
|
||||
|
|
Loading…
Reference in a new issue