diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/viewer-x.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/viewer-x.c b/examples/viewer-x.c index 772dd719..e79c6eaf 100644 --- a/examples/viewer-x.c +++ b/examples/viewer-x.c @@ -91,13 +91,9 @@ update (Display *display, { GC gc; XRectangle extents; - int width, height; XClipBox (*update_region, &extents); - width = extents.width; - height = extents.height; - gc = XCreateGC (display, pixmap, 0, NULL); XCopyArea (display, pixmap, window, gc, |