aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-w32gdi.h
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2011-03-27 21:38:13 +0200
committerJon Lund Steffensen <jonlst@gmail.com>2011-03-27 21:38:13 +0200
commit46726ac9ebd1007804e16c33a2e70a4a60ae8abb (patch)
treec3374e66ca7983d577d6e4ee636062b350bc7541 /src/gamma-w32gdi.h
parentFix: return 0 in parse_gamma_string() on success. (diff)
downloadredshift-ng-46726ac9ebd1007804e16c33a2e70a4a60ae8abb.tar.gz
redshift-ng-46726ac9ebd1007804e16c33a2e70a4a60ae8abb.tar.bz2
redshift-ng-46726ac9ebd1007804e16c33a2e70a4a60ae8abb.tar.xz
w32gdi: Obtain a new DC handle on every adjustment. This fixes a bug
where redshift stops updating the screen.
Diffstat (limited to 'src/gamma-w32gdi.h')
-rw-r--r--src/gamma-w32gdi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gamma-w32gdi.h b/src/gamma-w32gdi.h
index 6cb9799..9dc2657 100644
--- a/src/gamma-w32gdi.h
+++ b/src/gamma-w32gdi.h
@@ -25,7 +25,6 @@
typedef struct {
- HDC hDC;
WORD *saved_ramps;
} w32gdi_state_t;