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