Module: wine Branch: refs/heads/master Commit: 653fc2c4439411a23c225f4c14cce0a3c53ca806 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=653fc2c4439411a23c225f4c...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jun 12 13:37:36 2006 +0200
x11drv: Get rid of the no longer used desktop_tid variable.
---
dlls/x11drv/x11drv.h | 1 - dlls/x11drv/x11drv_main.c | 2 -- 2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/x11drv/x11drv.h b/dlls/x11drv/x11drv.h index e313e76..7cfdbc4 100644 --- a/dlls/x11drv/x11drv.h +++ b/dlls/x11drv/x11drv.h @@ -526,7 +526,6 @@ inline static Display *thread_display(vo
extern Visual *visual; extern Window root_window; -extern DWORD desktop_tid; extern unsigned int screen_width; extern unsigned int screen_height; extern unsigned int screen_depth; diff --git a/dlls/x11drv/x11drv_main.c b/dlls/x11drv/x11drv_main.c index b6fa275..5655e60 100644 --- a/dlls/x11drv/x11drv_main.c +++ b/dlls/x11drv/x11drv_main.c @@ -71,7 +71,6 @@ unsigned int screen_width; unsigned int screen_height; unsigned int screen_depth; Window root_window; -DWORD desktop_tid = 0; int dxgrab = 0; int usedga = 0; int usexvidmode = 1; @@ -542,7 +541,6 @@ #endif data->last_focus = 0; data->selection_wnd = 0; TlsSetValue( thread_data_tls_index, data ); - if (desktop_tid) AttachThreadInput( GetCurrentThreadId(), desktop_tid, TRUE ); return data; }