Commit c3116c5e authored by Alexandre Julliard's avatar Alexandre Julliard

Renamed ttydrv and x11drv to winetty.drv and winex11.drv respectively

to follow the namespace conventions and make it clear that they are drivers and not dlls. Moved the graphics driver configuration to HKLM\Software\Wine\Drivers.
parent f1660dae
...@@ -371,7 +371,6 @@ SYMLINKS_SO = \ ...@@ -371,7 +371,6 @@ SYMLINKS_SO = \
stdole32.tlb.so \ stdole32.tlb.so \
sti.dll.so \ sti.dll.so \
tapi32.dll.so \ tapi32.dll.so \
ttydrv.dll.so \
twain_32.dll.so \ twain_32.dll.so \
unicows.dll.so \ unicows.dll.so \
url.dll.so \ url.dll.so \
...@@ -396,6 +395,7 @@ SYMLINKS_SO = \ ...@@ -396,6 +395,7 @@ SYMLINKS_SO = \
winenas.drv.so \ winenas.drv.so \
wineoss.drv.so \ wineoss.drv.so \
wineps.dll.so \ wineps.dll.so \
winetty.drv.so \
wininet.dll.so \ wininet.dll.so \
winmm.dll.so \ winmm.dll.so \
winnls32.dll.so \ winnls32.dll.so \
...@@ -418,6 +418,9 @@ symlinks.so: $(SYMLINKS_SO) ...@@ -418,6 +418,9 @@ symlinks.so: $(SYMLINKS_SO)
symlinks: $(BUILDSUBDIRS) symlinks: $(BUILDSUBDIRS)
x11drv.dll.so: winex11.drv.so
$(RM) $@ && $(LN_S) winex11.drv.so $@
# Map symlink name to the corresponding library # Map symlink name to the corresponding library
...@@ -845,9 +848,6 @@ sti.dll.so: sti/sti.dll.so ...@@ -845,9 +848,6 @@ sti.dll.so: sti/sti.dll.so
tapi32.dll.so: tapi32/tapi32.dll.so tapi32.dll.so: tapi32/tapi32.dll.so
$(RM) $@ && $(LN_S) tapi32/tapi32.dll.so $@ $(RM) $@ && $(LN_S) tapi32/tapi32.dll.so $@
ttydrv.dll.so: ttydrv/ttydrv.dll.so
$(RM) $@ && $(LN_S) ttydrv/ttydrv.dll.so $@
twain_32.dll.so: twain/twain_32.dll.so twain_32.dll.so: twain/twain_32.dll.so
$(RM) $@ && $(LN_S) twain/twain_32.dll.so $@ $(RM) $@ && $(LN_S) twain/twain_32.dll.so $@
...@@ -942,6 +942,12 @@ wineps.dll.so: wineps/wineps.dll.so ...@@ -942,6 +942,12 @@ wineps.dll.so: wineps/wineps.dll.so
wineps16.drv.so : wineps.dll.so wineps16.drv.so : wineps.dll.so
$(RM) $@ && $(LN_S) wineps.dll.so $@ $(RM) $@ && $(LN_S) wineps.dll.so $@
winetty.drv.so: ttydrv/winetty.drv.so
$(RM) $@ && $(LN_S) ttydrv/winetty.drv.so $@
winex11.drv.so: x11drv/winex11.drv.so
$(RM) $@ && $(LN_S) x11drv/winex11.drv.so $@
wininet.dll.so: wininet/wininet.dll.so wininet.dll.so: wininet/wininet.dll.so
$(RM) $@ && $(LN_S) wininet/wininet.dll.so $@ $(RM) $@ && $(LN_S) wininet/wininet.dll.so $@
...@@ -990,9 +996,6 @@ wsock32.dll.so: wsock32/wsock32.dll.so ...@@ -990,9 +996,6 @@ wsock32.dll.so: wsock32/wsock32.dll.so
wtsapi32.dll.so: wtsapi32/wtsapi32.dll.so wtsapi32.dll.so: wtsapi32/wtsapi32.dll.so
$(RM) $@ && $(LN_S) wtsapi32/wtsapi32.dll.so $@ $(RM) $@ && $(LN_S) wtsapi32/wtsapi32.dll.so $@
x11drv.dll.so: x11drv/x11drv.dll.so
$(RM) $@ && $(LN_S) x11drv/x11drv.dll.so $@
libdxerr8.a: dxerr8/libdxerr8.a libdxerr8.a: dxerr8/libdxerr8.a
$(RM) $@ && $(LN_S) dxerr8/libdxerr8.a $@ $(RM) $@ && $(LN_S) dxerr8/libdxerr8.a $@
...@@ -1119,7 +1122,6 @@ IMPORT_LIBS = \ ...@@ -1119,7 +1122,6 @@ IMPORT_LIBS = \
libsnmpapi.$(IMPLIBEXT) \ libsnmpapi.$(IMPLIBEXT) \
libsti.$(IMPLIBEXT) \ libsti.$(IMPLIBEXT) \
libtapi32.$(IMPLIBEXT) \ libtapi32.$(IMPLIBEXT) \
libttydrv.$(IMPLIBEXT) \
libtwain_32.$(IMPLIBEXT) \ libtwain_32.$(IMPLIBEXT) \
libunicows.$(IMPLIBEXT) \ libunicows.$(IMPLIBEXT) \
liburl.$(IMPLIBEXT) \ liburl.$(IMPLIBEXT) \
...@@ -1143,7 +1145,6 @@ IMPORT_LIBS = \ ...@@ -1143,7 +1145,6 @@ IMPORT_LIBS = \
libws2_32.$(IMPLIBEXT) \ libws2_32.$(IMPLIBEXT) \
libwsock32.$(IMPLIBEXT) \ libwsock32.$(IMPLIBEXT) \
libwtsapi32.$(IMPLIBEXT) \ libwtsapi32.$(IMPLIBEXT) \
libx11drv.$(IMPLIBEXT) \
libdxerr8.a \ libdxerr8.a \
libdxerr9.a \ libdxerr9.a \
libdxguid.a \ libdxguid.a \
...@@ -1687,11 +1688,6 @@ libtapi32.def: tapi32/tapi32.spec.def ...@@ -1687,11 +1688,6 @@ libtapi32.def: tapi32/tapi32.spec.def
libtapi32.a: tapi32/tapi32.spec.def libtapi32.a: tapi32/tapi32.spec.def
$(DLLTOOL) -k -l $@ -d tapi32/tapi32.spec.def $(DLLTOOL) -k -l $@ -d tapi32/tapi32.spec.def
libttydrv.def: ttydrv/ttydrv.spec.def
$(RM) $@ && $(LN_S) ttydrv/ttydrv.spec.def $@
libttydrv.a: ttydrv/ttydrv.spec.def
$(DLLTOOL) -k -l $@ -d ttydrv/ttydrv.spec.def
libtwain_32.def: twain/twain_32.spec.def libtwain_32.def: twain/twain_32.spec.def
$(RM) $@ && $(LN_S) twain/twain_32.spec.def $@ $(RM) $@ && $(LN_S) twain/twain_32.spec.def $@
libtwain_32.a: twain/twain_32.spec.def libtwain_32.a: twain/twain_32.spec.def
...@@ -1807,11 +1803,6 @@ libwtsapi32.def: wtsapi32/wtsapi32.spec.def ...@@ -1807,11 +1803,6 @@ libwtsapi32.def: wtsapi32/wtsapi32.spec.def
libwtsapi32.a: wtsapi32/wtsapi32.spec.def libwtsapi32.a: wtsapi32/wtsapi32.spec.def
$(DLLTOOL) -k -l $@ -d wtsapi32/wtsapi32.spec.def $(DLLTOOL) -k -l $@ -d wtsapi32/wtsapi32.spec.def
libx11drv.def: x11drv/x11drv.spec.def
$(RM) $@ && $(LN_S) x11drv/x11drv.spec.def $@
libx11drv.a: x11drv/x11drv.spec.def
$(DLLTOOL) -k -l $@ -d x11drv/x11drv.spec.def
advapi32/advapi32.spec.def: $(WINEBUILD) advapi32/advapi32.spec.def: $(WINEBUILD)
advpack/advpack.spec.def: $(WINEBUILD) advpack/advpack.spec.def: $(WINEBUILD)
amstream/amstream.spec.def: $(WINEBUILD) amstream/amstream.spec.def: $(WINEBUILD)
...@@ -1919,7 +1910,6 @@ shlwapi/shlwapi.spec.def: $(WINEBUILD) ...@@ -1919,7 +1910,6 @@ shlwapi/shlwapi.spec.def: $(WINEBUILD)
snmpapi/snmpapi.spec.def: $(WINEBUILD) snmpapi/snmpapi.spec.def: $(WINEBUILD)
sti/sti.spec.def: $(WINEBUILD) sti/sti.spec.def: $(WINEBUILD)
tapi32/tapi32.spec.def: $(WINEBUILD) tapi32/tapi32.spec.def: $(WINEBUILD)
ttydrv/ttydrv.spec.def: $(WINEBUILD)
twain/twain_32.spec.def: $(WINEBUILD) twain/twain_32.spec.def: $(WINEBUILD)
unicows/unicows.spec.def: $(WINEBUILD) unicows/unicows.spec.def: $(WINEBUILD)
url/url.spec.def: $(WINEBUILD) url/url.spec.def: $(WINEBUILD)
...@@ -1943,7 +1933,6 @@ wow32/wow32.spec.def: $(WINEBUILD) ...@@ -1943,7 +1933,6 @@ wow32/wow32.spec.def: $(WINEBUILD)
winsock/ws2_32.spec.def: $(WINEBUILD) winsock/ws2_32.spec.def: $(WINEBUILD)
wsock32/wsock32.spec.def: $(WINEBUILD) wsock32/wsock32.spec.def: $(WINEBUILD)
wtsapi32/wtsapi32.spec.def: $(WINEBUILD) wtsapi32/wtsapi32.spec.def: $(WINEBUILD)
x11drv/x11drv.spec.def: $(WINEBUILD)
$(BUILDSUBDIRS): $(IMPORT_LIBS) $(BUILDSUBDIRS): $(IMPORT_LIBS)
$(INSTALLSUBDIRS:%=%/__install__): $(IMPORT_LIBS) $(INSTALLSUBDIRS:%=%/__install__): $(IMPORT_LIBS)
...@@ -2074,7 +2063,6 @@ snmpapi/snmpapi.dll.so: snmpapi ...@@ -2074,7 +2063,6 @@ snmpapi/snmpapi.dll.so: snmpapi
stdole32.tlb/stdole32.tlb.so: stdole32.tlb stdole32.tlb/stdole32.tlb.so: stdole32.tlb
sti/sti.dll.so: sti sti/sti.dll.so: sti
tapi32/tapi32.dll.so: tapi32 tapi32/tapi32.dll.so: tapi32
ttydrv/ttydrv.dll.so: ttydrv
twain/twain_32.dll.so: twain twain/twain_32.dll.so: twain
unicows/unicows.dll.so: unicows unicows/unicows.dll.so: unicows
url/url.dll.so: url url/url.dll.so: url
...@@ -2100,6 +2088,8 @@ msacm/winemp3/winemp3.acm.so: msacm/winemp3 ...@@ -2100,6 +2088,8 @@ msacm/winemp3/winemp3.acm.so: msacm/winemp3
winmm/winenas/winenas.drv.so: winmm/winenas winmm/winenas/winenas.drv.so: winmm/winenas
winmm/wineoss/wineoss.drv.so: winmm/wineoss winmm/wineoss/wineoss.drv.so: winmm/wineoss
wineps/wineps.dll.so: wineps wineps/wineps.dll.so: wineps
ttydrv/winetty.drv.so: ttydrv
x11drv/winex11.drv.so: x11drv
wininet/wininet.dll.so: wininet wininet/wininet.dll.so: wininet
winmm/winmm.dll.so: winmm winmm/winmm.dll.so: winmm
winnls/winnls32.dll.so: winnls winnls/winnls32.dll.so: winnls
...@@ -2111,7 +2101,6 @@ wow32/wow32.dll.so: wow32 ...@@ -2111,7 +2101,6 @@ wow32/wow32.dll.so: wow32
winsock/ws2_32.dll.so: winsock winsock/ws2_32.dll.so: winsock
wsock32/wsock32.dll.so: wsock32 wsock32/wsock32.dll.so: wsock32
wtsapi32/wtsapi32.dll.so: wtsapi32 wtsapi32/wtsapi32.dll.so: wtsapi32
x11drv/x11drv.dll.so: x11drv
dxerr8/libdxerr8.a: dxerr8 dxerr8/libdxerr8.a: dxerr8
dxerr9/libdxerr9.a: dxerr9 dxerr9/libdxerr9.a: dxerr9
dxguid/libdxguid.a: dxguid dxguid/libdxguid.a: dxguid
......
...@@ -76,7 +76,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) ...@@ -76,7 +76,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
DisableThreadLibraryCalls(hInstDLL); DisableThreadLibraryCalls(hInstDLL);
mod = GetModuleHandleA( "x11drv.dll" ); mod = GetModuleHandleA( "winex11.drv" );
if (mod) if (mod)
{ {
wine_tsx11_lock_ptr = (void *)GetProcAddress( mod, "wine_tsx11_lock" ); wine_tsx11_lock_ptr = (void *)GetProcAddress( mod, "wine_tsx11_lock" );
......
...@@ -59,7 +59,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) { ...@@ -59,7 +59,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) {
DisableThreadLibraryCalls(hInstDLL); DisableThreadLibraryCalls(hInstDLL);
mod = GetModuleHandleA( "x11drv.dll" ); mod = GetModuleHandleA( "winex11.drv" );
if (mod) if (mod)
{ {
wine_tsx11_lock_ptr = (void*) GetProcAddress(mod, "wine_tsx11_lock"); wine_tsx11_lock_ptr = (void*) GetProcAddress(mod, "wine_tsx11_lock");
......
...@@ -654,7 +654,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) ...@@ -654,7 +654,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
DisableThreadLibraryCalls(hInstDLL); DisableThreadLibraryCalls(hInstDLL);
mod = GetModuleHandleA( "x11drv.dll" ); mod = GetModuleHandleA( "winex11.drv" );
if (mod) if (mod)
{ {
wine_tsx11_lock_ptr = (void *)GetProcAddress( mod, "wine_tsx11_lock" ); wine_tsx11_lock_ptr = (void *)GetProcAddress( mod, "wine_tsx11_lock" );
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <stdio.h>
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "winreg.h" #include "winreg.h"
...@@ -210,7 +211,7 @@ static struct graphics_driver *create_driver( HMODULE module ) ...@@ -210,7 +211,7 @@ static struct graphics_driver *create_driver( HMODULE module )
*/ */
static struct graphics_driver *load_display_driver(void) static struct graphics_driver *load_display_driver(void)
{ {
char buffer[MAX_PATH], *name, *next; char buffer[MAX_PATH], libname[32], *name, *next;
HMODULE module = 0; HMODULE module = 0;
HKEY hkey; HKEY hkey;
...@@ -220,11 +221,11 @@ static struct graphics_driver *load_display_driver(void) ...@@ -220,11 +221,11 @@ static struct graphics_driver *load_display_driver(void)
return display_driver; return display_driver;
} }
strcpy( buffer, "x11drv,ttydrv" ); /* default value */ strcpy( buffer, "x11,tty" ); /* default value */
if (!RegOpenKeyA( HKEY_LOCAL_MACHINE, "Software\\Wine\\Wine\\Config\\Wine", &hkey )) if (!RegOpenKeyA( HKEY_LOCAL_MACHINE, "Software\\Wine\\Drivers", &hkey ))
{ {
DWORD type, count = sizeof(buffer); DWORD type, count = sizeof(buffer);
RegQueryValueExA( hkey, "GraphicsDriver", 0, &type, buffer, &count ); RegQueryValueExA( hkey, "Graphics", 0, &type, buffer, &count );
RegCloseKey( hkey ); RegCloseKey( hkey );
} }
...@@ -234,13 +235,14 @@ static struct graphics_driver *load_display_driver(void) ...@@ -234,13 +235,14 @@ static struct graphics_driver *load_display_driver(void)
next = strchr( name, ',' ); next = strchr( name, ',' );
if (next) *next++ = 0; if (next) *next++ = 0;
if ((module = LoadLibraryA( name )) != 0) break; snprintf( libname, sizeof(libname), "wine%s.drv", name );
if ((module = LoadLibraryA( libname )) != 0) break;
name = next; name = next;
} }
if (!module) if (!module)
{ {
MESSAGE( "wine: Could not load graphics driver '%s'.\n", buffer ); MESSAGE( "wine: Could not load graphics driver '%s'.\n", buffer );
if (!strcasecmp( buffer, "x11drv" )) if (!strcasecmp( buffer, "x11" ))
MESSAGE( "Make sure that your X server is running and that $DISPLAY is set correctly.\n" ); MESSAGE( "Make sure that your X server is running and that $DISPLAY is set correctly.\n" );
ExitProcess(1); ExitProcess(1);
} }
......
...@@ -140,7 +140,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved) ...@@ -140,7 +140,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved)
DisableThreadLibraryCalls(hInstDLL); DisableThreadLibraryCalls(hInstDLL);
hImeInst = hInstDLL; hImeInst = hInstDLL;
IMM_RegisterMessages(); IMM_RegisterMessages();
x11drv = GetModuleHandleA("x11drv.dll"); x11drv = GetModuleHandleA("winex11.drv");
if (x11drv) pX11DRV_ForceXIMReset = (void *)GetProcAddress( x11drv, "ForceXIMReset"); if (x11drv) pX11DRV_ForceXIMReset = (void *)GetProcAddress( x11drv, "ForceXIMReset");
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
......
...@@ -187,6 +187,9 @@ symlinks.so: \$(SYMLINKS_SO) ...@@ -187,6 +187,9 @@ symlinks.so: \$(SYMLINKS_SO)
symlinks: \$(BUILDSUBDIRS) symlinks: \$(BUILDSUBDIRS)
x11drv.dll.so: winex11.drv.so
\$(RM) \$@ && \$(LN_S) winex11.drv.so \$@
EOF EOF
################################################################ ################################################################
......
...@@ -817,7 +817,7 @@ static BOOL process_attach(void) ...@@ -817,7 +817,7 @@ static BOOL process_attach(void)
HDC hdc; HDC hdc;
XVisualInfo *vis = NULL; XVisualInfo *vis = NULL;
Window root = (Window)GetPropA( GetDesktopWindow(), "__wine_x11_whole_window" ); Window root = (Window)GetPropA( GetDesktopWindow(), "__wine_x11_whole_window" );
HMODULE mod = GetModuleHandleA( "x11drv.dll" ); HMODULE mod = GetModuleHandleA( "winex11.drv" );
void *opengl_handle; void *opengl_handle;
DWORD size = sizeof(internal_gl_disabled_extensions); DWORD size = sizeof(internal_gl_disabled_extensions);
HKEY hkey = 0; HKEY hkey = 0;
......
Makefile Makefile
ttydrv.dll.dbg.c winetty.drv.dbg.c
ttydrv.spec.def
...@@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@ ...@@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../.. TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = ttydrv.dll MODULE = winetty.drv
IMPORTS = user32 gdi32 kernel32 ntdll IMPORTS = user32 gdi32 kernel32 ntdll
EXTRALIBS = @CURSESLIBS@ EXTRALIBS = @CURSESLIBS@
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
*/ */
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h>
#include <string.h> #include <string.h>
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
...@@ -63,14 +64,14 @@ extern void WDML_NotifyThreadDetach(void); ...@@ -63,14 +64,14 @@ extern void WDML_NotifyThreadDetach(void);
/* load the graphics driver */ /* load the graphics driver */
static BOOL load_driver(void) static BOOL load_driver(void)
{ {
char buffer[MAX_PATH], *name, *next; char buffer[MAX_PATH], libname[32], *name, *next;
HKEY hkey; HKEY hkey;
strcpy( buffer, "x11drv,ttydrv" ); /* default value */ strcpy( buffer, "x11,tty" ); /* default value */
if (!RegOpenKeyA( HKEY_LOCAL_MACHINE, "Software\\Wine\\Wine\\Config\\Wine", &hkey )) if (!RegOpenKeyA( HKEY_LOCAL_MACHINE, "Software\\Wine\\Drivers", &hkey ))
{ {
DWORD type, count = sizeof(buffer); DWORD type, count = sizeof(buffer);
RegQueryValueExA( hkey, "GraphicsDriver", 0, &type, buffer, &count ); RegQueryValueExA( hkey, "Graphics", 0, &type, buffer, &count );
RegCloseKey( hkey ); RegCloseKey( hkey );
} }
...@@ -80,13 +81,14 @@ static BOOL load_driver(void) ...@@ -80,13 +81,14 @@ static BOOL load_driver(void)
next = strchr( name, ',' ); next = strchr( name, ',' );
if (next) *next++ = 0; if (next) *next++ = 0;
if ((graphics_driver = LoadLibraryA( name )) != 0) break; snprintf( libname, sizeof(libname), "wine%s.drv", name );
if ((graphics_driver = LoadLibraryA( libname )) != 0) break;
name = next; name = next;
} }
if (!graphics_driver) if (!graphics_driver)
{ {
MESSAGE( "wine: Could not load graphics driver '%s'.\n", buffer ); MESSAGE( "wine: Could not load graphics driver '%s'.\n", buffer );
if (!strcasecmp( buffer, "x11drv" )) if (!strcasecmp( buffer, "x11" ))
MESSAGE( "Make sure that your X server is running and that $DISPLAY is set correctly.\n" ); MESSAGE( "Make sure that your X server is running and that $DISPLAY is set correctly.\n" );
ExitProcess(1); ExitProcess(1);
} }
......
...@@ -58,7 +58,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) ...@@ -58,7 +58,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
DisableThreadLibraryCalls(hInstDLL); DisableThreadLibraryCalls(hInstDLL);
mod = GetModuleHandleA( "x11drv.dll" ); mod = GetModuleHandleA( "winex11.drv" );
if (mod) if (mod)
{ {
wine_tsx11_lock_ptr = (void *)GetProcAddress( mod, "wine_tsx11_lock" ); wine_tsx11_lock_ptr = (void *)GetProcAddress( mod, "wine_tsx11_lock" );
......
...@@ -74,7 +74,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved) ...@@ -74,7 +74,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved)
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
TRACE("Initialization\n"); TRACE("Initialization\n");
InitializeCriticalSection(&csTablet); InitializeCriticalSection(&csTablet);
hx11drv = GetModuleHandleA("x11drv.dll"); hx11drv = GetModuleHandleA("winex11.drv");
if (hx11drv) if (hx11drv)
{ {
pLoadTabletInfo = (void *)GetProcAddress(hx11drv, "LoadTabletInfo"); pLoadTabletInfo = (void *)GetProcAddress(hx11drv, "LoadTabletInfo");
......
Makefile Makefile
x11drv.dll.dbg.c winex11.drv.dbg.c
x11drv.spec.def
...@@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@ ...@@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../.. TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = x11drv.dll MODULE = winex11.drv
IMPORTS = user32 gdi32 advapi32 kernel32 ntdll IMPORTS = user32 gdi32 advapi32 kernel32 ntdll
EXTRAINCL = @X_CFLAGS@ EXTRAINCL = @X_CFLAGS@
EXTRALIBS = $(LIBUNICODE) @X_LIBS@ @X_PRE_LIBS@ @XLIB@ @X_EXTRA_LIBS@ EXTRALIBS = $(LIBUNICODE) @X_LIBS@ @X_PRE_LIBS@ @XLIB@ @X_EXTRA_LIBS@
......
...@@ -6,7 +6,6 @@ WINE REGISTRY Version 2 ...@@ -6,7 +6,6 @@ WINE REGISTRY Version 2
;; grep -v "^;" ~/.wine/config | grep '.' ;; grep -v "^;" ~/.wine/config | grep '.'
[wine] [wine]
"GraphicsDriver" = "x11drv"
;"ShowDirSymlinks" = "1" ;"ShowDirSymlinks" = "1"
;"ShowDotFiles" = "1" ;"ShowDotFiles" = "1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment