x11drv: Get rid of the no longer used desktop_tid variable.
This commit is contained in:
parent
099e23ce49
commit
653fc2c443
|
@ -526,7 +526,6 @@ inline static Display *thread_display(void) { return x11drv_thread_data()->displ
|
||||||
|
|
||||||
extern Visual *visual;
|
extern Visual *visual;
|
||||||
extern Window root_window;
|
extern Window root_window;
|
||||||
extern DWORD desktop_tid;
|
|
||||||
extern unsigned int screen_width;
|
extern unsigned int screen_width;
|
||||||
extern unsigned int screen_height;
|
extern unsigned int screen_height;
|
||||||
extern unsigned int screen_depth;
|
extern unsigned int screen_depth;
|
||||||
|
|
|
@ -71,7 +71,6 @@ unsigned int screen_width;
|
||||||
unsigned int screen_height;
|
unsigned int screen_height;
|
||||||
unsigned int screen_depth;
|
unsigned int screen_depth;
|
||||||
Window root_window;
|
Window root_window;
|
||||||
DWORD desktop_tid = 0;
|
|
||||||
int dxgrab = 0;
|
int dxgrab = 0;
|
||||||
int usedga = 0;
|
int usedga = 0;
|
||||||
int usexvidmode = 1;
|
int usexvidmode = 1;
|
||||||
|
@ -542,7 +541,6 @@ struct x11drv_thread_data *x11drv_init_thread_data(void)
|
||||||
data->last_focus = 0;
|
data->last_focus = 0;
|
||||||
data->selection_wnd = 0;
|
data->selection_wnd = 0;
|
||||||
TlsSetValue( thread_data_tls_index, data );
|
TlsSetValue( thread_data_tls_index, data );
|
||||||
if (desktop_tid) AttachThreadInput( GetCurrentThreadId(), desktop_tid, TRUE );
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue