aboutsummaryrefslogtreecommitdiff
path: root/src/dw-hdfsee.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-03-18 15:53:11 +0100
committerThomas White <taw@physics.org>2019-03-18 15:53:11 +0100
commitf22471de9120578e38c334dd6a2c4aec9d90f57a (patch)
treef231c818d5f69888058e680f838e661215f39277 /src/dw-hdfsee.h
parentacd27b952ab2b0f11e23add58cf691bd4386ce99 (diff)
hdfsee: Use a fresh detector geometry structure each time a new image is loaded
If the clen is a literal number, AND there's a coffset, the coffset will be added every time the image data is loaded. Now, it'll start from scratch.
Diffstat (limited to 'src/dw-hdfsee.h')
-rw-r--r--src/dw-hdfsee.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dw-hdfsee.h b/src/dw-hdfsee.h
index 85fa288f..a7871654 100644
--- a/src/dw-hdfsee.h
+++ b/src/dw-hdfsee.h
@@ -96,6 +96,7 @@ typedef struct {
GdkPixbuf **pixbufs;
gulong motion_callback;
cairo_surface_t *surf;
+ struct detector *original_geom;
int not_ready_yet;