aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/x11-mouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdraw/x11-mouse.c')
-rw-r--r--src/libdraw/x11-mouse.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libdraw/x11-mouse.c b/src/libdraw/x11-mouse.c
index eae26788..9e5143c6 100644
--- a/src/libdraw/x11-mouse.c
+++ b/src/libdraw/x11-mouse.c
@@ -11,7 +11,7 @@
void
moveto(Mousectl *m, Point pt)
{
- xmoveto(pt);
+ _xmoveto(pt);
}
void
@@ -64,10 +64,10 @@ _ioproc(void *arg)
XNextEvent(_x.mousecon, &xevent);
switch(xevent.type){
case Expose:
- xexpose(&xevent, _x.mousecon);
+ _xexpose(&xevent, _x.mousecon);
continue;
case DestroyNotify:
- if(xdestroy(&xevent, _x.mousecon)){
+ if(_xdestroy(&xevent, _x.mousecon)){
/* drain it before sending */
/* apps that care can notice we sent a 0 */
/* otherwise we'll have getwindow send SIGHUP */
@@ -77,16 +77,16 @@ _ioproc(void *arg)
}
continue;
case ConfigureNotify:
- if(xconfigure(&xevent, _x.mousecon))
+ if(_xconfigure(&xevent, _x.mousecon))
nbsend(mc->resizec, &one);
continue;
case SelectionRequest:
- xselect(&xevent, _x.mousecon);
+ _xselect(&xevent, _x.mousecon);
continue;
case ButtonPress:
case ButtonRelease:
case MotionNotify:
- if(xtoplan9mouse(_x.mousecon, &xevent, &m) < 0)
+ if(_xtoplan9mouse(_x.mousecon, &xevent, &m) < 0)
continue;
send(mc->c, &m);
/*
@@ -117,6 +117,6 @@ initmouse(char *file, Image *i)
void
setcursor(Mousectl *mc, Cursor *c)
{
- xsetcursor(c);
+ _xsetcursor(c);
}