[Wine-devel] fix error of compilation "dlls/winex11.drv/window.c"

Константин Подрубный =?iso-8859-1?q?smoke_=CE=C1_etersoft=2Eru?=
Вт Июл 1 16:17:46 MSD 2008


патч нужно приложить в ветку eterhack
----------- следующая часть -----------
From e3262843f2daa85be9d7500bb2e841037e1cffca Mon Sep 17 00:00:00 2001
From: Konstantin Podrubny <smoke на etersoft.ru>
Date: Tue, 1 Jul 2008 15:42:08 +0400
Subject: [PATCH] Fix error of compilation

---
 dlls/winex11.drv/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 2733a96..c9d82ea 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -1653,7 +1653,7 @@ void X11DRV_DestroyWindow( HWND hwnd )
         if( (GetWindowLongW(hwnd, GWL_STYLE) & WS_CAPTION))
         {
             wine_tsx11_lock();
-            XSetInputFocus( display, PointerRoot, RevertToPointerRoot, 0 );
+            XSetInputFocus( thread_data->display, PointerRoot, RevertToPointerRoot, 0 );
             wine_tsx11_unlock();
             EnableWindow( GetParent( hwnd ), TRUE );
         }
-- 
1.5.4.5.GIT



Подробная информация о списке рассылки Wine-devel