aboutsummaryrefslogtreecommitdiffstats
path: root/selections.c
diff options
context:
space:
mode:
authorStéphane Aulery <lkppo@free.fr>2012-01-28 21:54:55 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-02-10 14:12:37 +0100
commitdbb013b2e014eded2cf2c6398c675f2cb52eaf53 (patch)
treea83dc6b4fa0f1d977f0279e1a9f311dd021625e5 /selections.c
parenta822c6b4c3088d89b969f7e1e3fa39c6be0f2b70 (diff)
downloadfbida-dbb013b2e014eded2cf2c6398c675f2cb52eaf53.tar.gz
Remove unused variable in selections.c: src
Diffstat (limited to 'selections.c')
-rw-r--r--selections.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/selections.c b/selections.c
index 262caa5..10a2617 100644
--- a/selections.c
+++ b/selections.c
@@ -476,7 +476,6 @@ selection_xfer(Widget widget, XtPointer ignore, XtPointer call_data)
if (scs->target == XA_PIXMAP) {
/* beaming pixmaps between apps */
- Screen *scr;
Window root;
Pixmap pix;
int x,y,w,h,bw,depth;
@@ -486,7 +485,6 @@ selection_xfer(Widget widget, XtPointer ignore, XtPointer call_data)
pix = ldata[0];
if (debug)
fprintf(stderr,"xfer: => id=0x%lx\n",pix);
- scr = XtScreen(widget);
XGetGeometry(dpy,pix,&root,&x,&y,&w,&h,&bw,&depth);
ximage = XGetImage(dpy,pix,0,0,w,h,-1,ZPixmap);
parse_ximage(&img, ximage);