twsys.c - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
twsys.c (337B)
---
1 #include <u.h>
2 #include <libc.h>
3 #include <draw.h>
4
5 int _wantfocuschanges;
6
7 void
8 drawtopwindow(void)
9 {
10 _displaytop(display);
11 }
12
13 int
14 drawsetlabel(char *label)
15 {
16 return _displaylabel(display, label);
17 }
18
19 void
20 bouncemouse(Mouse *m)
21 {
22 _displaybouncemouse(display, m);
23 }
24
25 void
26 drawresizewindow(Rectangle r)
27 {
28 _displayresize(display, r);
29 }