summaryrefslogtreecommitdiff
path: root/zwgc/xselect.c
diff options
context:
space:
mode:
authorGravatar Marc Horowitz <marc@mit.edu>1989-11-15 17:45:33 +0000
committerGravatar Marc Horowitz <marc@mit.edu>1989-11-15 17:45:33 +0000
commit8029b96465d6b1dfbf30ac533c140012be455f09 (patch)
treea4b0e9705a4b02644862f9041b84adcf7285b0b6 /zwgc/xselect.c
parent10c89e9e885d59f559eec330129caf9a779040af (diff)
fixes for Saber warnings
Diffstat (limited to 'zwgc/xselect.c')
-rw-r--r--zwgc/xselect.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/zwgc/xselect.c b/zwgc/xselect.c
index 90c95cd..04211ae 100644
--- a/zwgc/xselect.c
+++ b/zwgc/xselect.c
@@ -157,9 +157,6 @@ int xselProcessSelection(dpy,w,event)
XEvent *event;
{
XSelectionRequestEvent *selreq = &(event->xselectionrequest);
- int (*syncfunc)();
- Atom targetprop;
- char *selvalue;
#ifdef DEBUG
if ((selreq->owner != w) || (selreq->selection != XA_PRIMARY))
@@ -171,7 +168,7 @@ int xselProcessSelection(dpy,w,event)
((ownership_end != CurrentTime) &&
(ownership_end > ownership_start) &&
(selreq->time > ownership_end)))
- xselNotify(dpy,event,None);
+ xselNotify(dpy,selreq,None);
xselSetProperties(dpy,selreq->requestor,selreq->property,selreq->target,
selreq);
@@ -185,6 +182,7 @@ void xselOwnershipLost(time)
ownership_end = time;
}
+/*ARGSUSED*/
void xselGiveUpOwnership(dpy,w)
Display *dpy;
Window w;