diff options
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/devdraw/cocoa-srv.c | 8 | ||||
-rw-r--r-- | src/cmd/devdraw/x11-srv.c | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/cmd/devdraw/cocoa-srv.c b/src/cmd/devdraw/cocoa-srv.c index 329dd71f..c1cf5983 100644 --- a/src/cmd/devdraw/cocoa-srv.c +++ b/src/cmd/devdraw/cocoa-srv.c @@ -165,6 +165,14 @@ runmsg(Wsysmsg *m) if(m->arrowcursor) setcursor(nil, nil); else + setcursor(&m->cursor, nil); + replymsg(m); + break; + + case Tcursor2: + if(m->arrowcursor) + setcursor(nil, nil); + else setcursor(&m->cursor, &m->cursor2); replymsg(m); break; diff --git a/src/cmd/devdraw/x11-srv.c b/src/cmd/devdraw/x11-srv.c index 17563f41..81416482 100644 --- a/src/cmd/devdraw/x11-srv.c +++ b/src/cmd/devdraw/x11-srv.c @@ -332,6 +332,7 @@ runmsg(Wsysmsg *m) break; case Tcursor: + case Tcursor2: if(m->arrowcursor) _xsetcursor(nil); else |