summaryrefslogtreecommitdiffstats
path: root/client/windows/pixels_source_p.h
diff options
context:
space:
mode:
authorIzik Eidus <ieidus@redhat.com>2010-04-09 05:06:32 +0300
committerIzik Eidus <ieidus@redhat.com>2010-04-09 05:09:02 +0300
commit22d1ac9eb5757ec5a51ec377d3ed31bf520f4ae0 (patch)
treefb901b561d6cafc01063368733c770a28342b49c /client/windows/pixels_source_p.h
parent187a4230e511e8f13bdf635307db5251405cc7f5 (diff)
downloadspice-22d1ac9eb5757ec5a51ec377d3ed31bf520f4ae0.tar.gz
spice-22d1ac9eb5757ec5a51ec377d3ed31bf520f4ae0.tar.xz
spice-22d1ac9eb5757ec5a51ec377d3ed31bf520f4ae0.zip
spice: win32 client: fix gdi locking
While the fix could have been more effective, it seems like this patch stream better with the coding logic that was there..., maybe later we will want to change the locking into more effective way. (There is just the primary surface to protect in reiality) Signed-off-by: Izik Eidus <ieidus@redhat.com>
Diffstat (limited to 'client/windows/pixels_source_p.h')
-rw-r--r--client/windows/pixels_source_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/windows/pixels_source_p.h b/client/windows/pixels_source_p.h
index eb646395..0f59f2d7 100644
--- a/client/windows/pixels_source_p.h
+++ b/client/windows/pixels_source_p.h
@@ -18,11 +18,11 @@
#ifndef _H_PIXELE_SOURSR_P
#define _H_PIXELE_SOURSR_P
-class Mutex;
+class RecurciveMutex;
struct PixelsSource_p {
HDC dc;
- Mutex* _mutex;
+ RecurciveMutex* _mutex;
};
#endif