From 22d1ac9eb5757ec5a51ec377d3ed31bf520f4ae0 Mon Sep 17 00:00:00 2001 From: Izik Eidus Date: Fri, 9 Apr 2010 05:06:32 +0300 Subject: 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 --- client/windows/red_pixmap_gdi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/windows/red_pixmap_gdi.cpp') diff --git a/client/windows/red_pixmap_gdi.cpp b/client/windows/red_pixmap_gdi.cpp index adb21da8..860c90c0 100644 --- a/client/windows/red_pixmap_gdi.cpp +++ b/client/windows/red_pixmap_gdi.cpp @@ -94,7 +94,7 @@ RedPixmapGdi::~RedPixmapGdi() } } -Mutex& RedPixmapGdi::get_mutex() +RecurciveMutex& RedPixmapGdi::get_mutex() { RedPixmap_p* p_data = (RedPixmap_p*)get_opaque(); return *p_data->pixels_source_p._mutex; -- cgit