winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
April 2008
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
4 participants
1278 discussions
Start a n
N
ew thread
Francois Gouget : ddraw/tests: Fix compilation on systems that don' t support nameless unions.
by Alexandre Julliard
07 Apr '08
07 Apr '08
Module: wine Branch: master Commit: 0d0c4a355b06fecf5860b1c1d51335b61de9f8de URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0d0c4a355b06fecf5860b1c1d…
Author: Francois Gouget <fgouget(a)free.fr> Date: Mon Apr 7 11:03:27 2008 +0200 ddraw/tests: Fix compilation on systems that don't support nameless unions. --- dlls/ddraw/tests/visual.c | 34 +++++++++++++++++----------------- 1 files changed, 17 insertions(+), 17 deletions(-) diff --git a/dlls/ddraw/tests/visual.c b/dlls/ddraw/tests/visual.c index 41d6062..b63231b 100644 --- a/dlls/ddraw/tests/visual.c +++ b/dlls/ddraw/tests/visual.c @@ -1733,13 +1733,13 @@ static void p8_surface_fill_rect(IDirectDrawSurface *dest, UINT x, UINT y, UINT hr = IDirectDrawSurface_Lock(dest, NULL, &ddsd, DDLOCK_WRITEONLY | DDLOCK_WAIT, NULL); ok(hr==DD_OK, "IDirectDrawSurface_Lock returned: %x\n", hr); - p = (BYTE *)ddsd.lpSurface + ddsd.lPitch * y + x; + p = (BYTE *)ddsd.lpSurface + U1(ddsd).lPitch * y + x; for (i = 0; i < h; i++) { for (i1 = 0; i1 < w; i1++) { p[i1] = colorindex; } - p += ddsd.lPitch; + p += U1(ddsd).lPitch; } hr = IDirectDrawSurface_Unlock(dest, NULL); @@ -1956,11 +1956,11 @@ static void p8_primary_test() for (i = 0; i < 256; i++) { unsigned x = (i % 128) * 4; unsigned y = (i / 128) * 4; - BYTE *p = (BYTE *)ddsd.lpSurface + ddsd.lPitch * y + x; + BYTE *p = (BYTE *)ddsd.lpSurface + U1(ddsd).lPitch * y + x; for (i1 = 0; i1 < 4; i1++) { p[0] = p[1] = p[2] = p[3] = i; - p += ddsd.lPitch; + p += U1(ddsd).lPitch; } } @@ -2007,7 +2007,7 @@ static void p8_primary_test() for (i = 0; i < 256; i++) { unsigned x = (i % 128) * 4 + 1; unsigned y = (i / 128) * 4 + 1; - BYTE *p = (BYTE *)ddsd.lpSurface + ddsd.lPitch * y + x; + BYTE *p = (BYTE *)ddsd.lpSurface + U1(ddsd).lPitch * y + x; if (*p != i) differences++; } @@ -2086,24 +2086,24 @@ static void cubemap_test(IDirect3DDevice7 *device) memset(&ddsd, 0, sizeof(ddsd)); ddsd.dwSize = sizeof(ddsd); - ddsd.ddpfPixelFormat.dwSize = sizeof(U4(ddsd).ddpfPixelFormat); + U4(ddsd).ddpfPixelFormat.dwSize = sizeof(U4(ddsd).ddpfPixelFormat); ddsd.dwFlags = DDSD_WIDTH | DDSD_HEIGHT | DDSD_PIXELFORMAT | DDSD_CAPS; ddsd.dwWidth = 16; ddsd.dwHeight = 16; ddsd.ddsCaps.dwCaps = DDSCAPS_TEXTURE | DDSCAPS_COMPLEX; ddsd.ddsCaps.dwCaps2 = DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_ALLFACES | DDSCAPS2_TEXTUREMANAGE; - ddsd.ddpfPixelFormat.dwFlags = DDPF_RGB; - ddsd.ddpfPixelFormat.dwRGBBitCount = 32; - ddsd.ddpfPixelFormat.dwRBitMask = 0x00FF0000; - ddsd.ddpfPixelFormat.dwGBitMask = 0x0000FF00; - ddsd.ddpfPixelFormat.dwBBitMask = 0x000000FF; + U4(ddsd).ddpfPixelFormat.dwFlags = DDPF_RGB; + U1(U4(ddsd).ddpfPixelFormat).dwRGBBitCount = 32; + U2(U4(ddsd).ddpfPixelFormat).dwRBitMask = 0x00FF0000; + U3(U4(ddsd).ddpfPixelFormat).dwGBitMask = 0x0000FF00; + U4(U4(ddsd).ddpfPixelFormat).dwBBitMask = 0x000000FF; hr = IDirectDraw7_CreateSurface(ddraw, &ddsd, &cubemap, NULL); ok(hr == DD_OK, "IDirectDraw7_CreateSurface returned %08x\n", hr); IDirectDraw7_Release(ddraw); /* Positive X */ - DDBltFx.dwFillColor = 0x00ff0000; + U5(DDBltFx).dwFillColor = 0x00ff0000; hr = IDirectDrawSurface7_Blt(cubemap, NULL, NULL, NULL, DDBLT_COLORFILL, &DDBltFx); ok(hr == DD_OK, "IDirectDrawSurface7_Blt returned %08x\n", hr); @@ -2112,35 +2112,35 @@ static void cubemap_test(IDirect3DDevice7 *device) caps.dwCaps2 = DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_NEGATIVEX; hr = IDirectDrawSurface_GetAttachedSurface(cubemap, &caps, &surface); ok(hr == DD_OK, "IDirectDrawSurface7_Lock returned %08x\n", hr); - DDBltFx.dwFillColor = 0x0000ffff; + U5(DDBltFx).dwFillColor = 0x0000ffff; hr = IDirectDrawSurface7_Blt(surface, NULL, NULL, NULL, DDBLT_COLORFILL, &DDBltFx); ok(hr == DD_OK, "IDirectDrawSurface7_Blt returned %08x\n", hr); caps.dwCaps2 = DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_NEGATIVEZ; hr = IDirectDrawSurface_GetAttachedSurface(cubemap, &caps, &surface); ok(hr == DD_OK, "IDirectDrawSurface7_Lock returned %08x\n", hr); - DDBltFx.dwFillColor = 0x0000ff00; + U5(DDBltFx).dwFillColor = 0x0000ff00; hr = IDirectDrawSurface7_Blt(surface, NULL, NULL, NULL, DDBLT_COLORFILL, &DDBltFx); ok(hr == DD_OK, "IDirectDrawSurface7_Blt returned %08x\n", hr); caps.dwCaps2 = DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_POSITIVEZ; hr = IDirectDrawSurface_GetAttachedSurface(cubemap, &caps, &surface); ok(hr == DD_OK, "IDirectDrawSurface7_Lock returned %08x\n", hr); - DDBltFx.dwFillColor = 0x000000ff; + U5(DDBltFx).dwFillColor = 0x000000ff; hr = IDirectDrawSurface7_Blt(surface, NULL, NULL, NULL, DDBLT_COLORFILL, &DDBltFx); ok(hr == DD_OK, "IDirectDrawSurface7_Blt returned %08x\n", hr); caps.dwCaps2 = DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_NEGATIVEY; hr = IDirectDrawSurface_GetAttachedSurface(cubemap, &caps, &surface); ok(hr == DD_OK, "IDirectDrawSurface7_Lock returned %08x\n", hr); - DDBltFx.dwFillColor = 0x00ffff00; + U5(DDBltFx).dwFillColor = 0x00ffff00; hr = IDirectDrawSurface7_Blt(surface, NULL, NULL, NULL, DDBLT_COLORFILL, &DDBltFx); ok(hr == DD_OK, "IDirectDrawSurface7_Blt returned %08x\n", hr); caps.dwCaps2 = DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_POSITIVEY; hr = IDirectDrawSurface_GetAttachedSurface(cubemap, &caps, &surface); ok(hr == DD_OK, "IDirectDrawSurface7_Lock returned %08x\n", hr); - DDBltFx.dwFillColor = 0x00ff00ff; + U5(DDBltFx).dwFillColor = 0x00ff00ff; hr = IDirectDrawSurface7_Blt(surface, NULL, NULL, NULL, DDBLT_COLORFILL, &DDBltFx); ok(hr == DD_OK, "IDirectDrawSurface7_Blt returned %08x\n", hr);
1
0
0
0
Jacek Caban : jscript: Added IObjectSafety implementation.
by Alexandre Julliard
07 Apr '08
07 Apr '08
Module: wine Branch: master Commit: 7d95c210c891755cdc1c0eb0608c91ee2e108dec URL:
http://source.winehq.org/git/wine.git/?a=commit;h=7d95c210c891755cdc1c0eb06…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Mon Apr 7 12:35:41 2008 +0200 jscript: Added IObjectSafety implementation. --- dlls/jscript/jscript.c | 25 ++++++++++++++++++++++--- 1 files changed, 22 insertions(+), 3 deletions(-) diff --git a/dlls/jscript/jscript.c b/dlls/jscript/jscript.c index 7d7385a..f058e26 100644 --- a/dlls/jscript/jscript.c +++ b/dlls/jscript/jscript.c @@ -32,6 +32,8 @@ typedef struct { const IObjectSafetyVtbl *lpIObjectSafetyVtbl; LONG ref; + + DWORD safeopt; } JScript; #define ACTSCRIPT(x) ((IActiveScript*) &(x)->lpIActiveScriptVtbl) @@ -395,19 +397,35 @@ static ULONG WINAPI JScriptSafety_Release(IObjectSafety *iface) return IActiveScript_Release(ACTSCRIPT(This)); } +#define SUPPORTED_OPTIONS (INTERFACESAFE_FOR_UNTRUSTED_DATA|INTERFACE_USES_DISPEX|INTERFACE_USES_SECURITY_MANAGER) + static HRESULT WINAPI JScriptSafety_GetInterfaceSafetyOptions(IObjectSafety *iface, REFIID riid, DWORD *pdwSupportedOptions, DWORD *pdwEnabledOptions) { JScript *This = OBJSAFETY_THIS(iface); - FIXME("(%p)->(%s %p %p)\n", This, debugstr_guid(riid), pdwSupportedOptions, pdwEnabledOptions); - return E_NOTIMPL; + + TRACE("(%p)->(%s %p %p)\n", This, debugstr_guid(riid), pdwSupportedOptions, pdwEnabledOptions); + + if(!pdwSupportedOptions || !pdwEnabledOptions) + return E_POINTER; + + *pdwSupportedOptions = SUPPORTED_OPTIONS; + *pdwEnabledOptions = This->safeopt; + + return S_OK; } static HRESULT WINAPI JScriptSafety_SetInterfaceSafetyOptions(IObjectSafety *iface, REFIID riid, DWORD dwOptionSetMask, DWORD dwEnabledOptions) { JScript *This = OBJSAFETY_THIS(iface); - FIXME("(%p)->(%s %x %x)\n", This, debugstr_guid(riid), dwOptionSetMask, dwEnabledOptions); + + TRACE("(%p)->(%s %x %x)\n", This, debugstr_guid(riid), dwOptionSetMask, dwEnabledOptions); + + if(dwOptionSetMask & ~SUPPORTED_OPTIONS) + return E_FAIL; + + This->safeopt = dwEnabledOptions & dwEnabledOptions; return S_OK; } @@ -439,6 +457,7 @@ HRESULT WINAPI JScriptFactory_CreateInstance(IClassFactory *iface, IUnknown *pUn ret->lpIActiveScriptPropertyVtbl = &JScriptPropertyVtbl; ret->lpIObjectSafetyVtbl = &JScriptSafetyVtbl; ret->ref = 1; + ret->safeopt = INTERFACE_USES_DISPEX; hres = IActiveScript_QueryInterface(ACTSCRIPT(ret), riid, ppv); IActiveScript_Release(ACTSCRIPT(ret));
1
0
0
0
Jacek Caban : mshtml: Remove unneeded includes.
by Alexandre Julliard
07 Apr '08
07 Apr '08
Module: wine Branch: master Commit: d02c37aa4e4d1d3b0efaa4166bdbd230534b44bb URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d02c37aa4e4d1d3b0efaa4166…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Mon Apr 7 13:14:05 2008 +0200 mshtml: Remove unneeded includes. --- dlls/mshtml/conpoint.c | 3 --- dlls/mshtml/editor.c | 3 --- dlls/mshtml/hlink.c | 3 --- dlls/mshtml/htmlanchor.c | 3 --- dlls/mshtml/htmlbody.c | 3 --- dlls/mshtml/htmlelem.c | 3 --- dlls/mshtml/htmlelem2.c | 4 ---- dlls/mshtml/htmlinput.c | 4 ---- dlls/mshtml/htmlnode.c | 4 ---- dlls/mshtml/htmloption.c | 4 ---- dlls/mshtml/htmlscript.c | 4 ---- dlls/mshtml/htmlselect.c | 4 ---- dlls/mshtml/htmlstyle.c | 4 ---- dlls/mshtml/htmlstylesheet.c | 4 ---- dlls/mshtml/htmltable.c | 4 ---- dlls/mshtml/htmltextarea.c | 4 ---- dlls/mshtml/htmlwindow.c | 4 ---- dlls/mshtml/main.c | 3 --- dlls/mshtml/olecmd.c | 4 ---- dlls/mshtml/selection.c | 4 ---- dlls/mshtml/txtrange.c | 4 ---- 21 files changed, 0 insertions(+), 77 deletions(-) diff --git a/dlls/mshtml/conpoint.c b/dlls/mshtml/conpoint.c index 85cf8dc..0c77e9c 100644 --- a/dlls/mshtml/conpoint.c +++ b/dlls/mshtml/conpoint.c @@ -16,10 +16,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS diff --git a/dlls/mshtml/editor.c b/dlls/mshtml/editor.c index 756898a..5929603 100644 --- a/dlls/mshtml/editor.c +++ b/dlls/mshtml/editor.c @@ -16,8 +16,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> #include <stdio.h> @@ -26,7 +24,6 @@ #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "mshtmcid.h" diff --git a/dlls/mshtml/hlink.c b/dlls/mshtml/hlink.c index 80332a1..60056e3 100644 --- a/dlls/mshtml/hlink.c +++ b/dlls/mshtml/hlink.c @@ -16,10 +16,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS diff --git a/dlls/mshtml/htmlanchor.c b/dlls/mshtml/htmlanchor.c index 41b71e7..d404925 100644 --- a/dlls/mshtml/htmlanchor.c +++ b/dlls/mshtml/htmlanchor.c @@ -16,8 +16,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> #include <stdio.h> @@ -26,7 +24,6 @@ #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/htmlbody.c b/dlls/mshtml/htmlbody.c index 6ad26ee..2ca3f28 100644 --- a/dlls/mshtml/htmlbody.c +++ b/dlls/mshtml/htmlbody.c @@ -16,8 +16,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> #include <stdio.h> @@ -26,7 +24,6 @@ #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/htmlelem.c b/dlls/mshtml/htmlelem.c index 145a625..b7fac23 100644 --- a/dlls/mshtml/htmlelem.c +++ b/dlls/mshtml/htmlelem.c @@ -16,10 +16,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" #include <stdarg.h> -#include <stdio.h> #define COBJMACROS @@ -27,7 +25,6 @@ #include "winbase.h" #include "winuser.h" #include "winreg.h" -#include "winnls.h" #include "ole2.h" #include "shlwapi.h" diff --git a/dlls/mshtml/htmlelem2.c b/dlls/mshtml/htmlelem2.c index 333f66f..01c88fa 100644 --- a/dlls/mshtml/htmlelem2.c +++ b/dlls/mshtml/htmlelem2.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/htmlinput.c b/dlls/mshtml/htmlinput.c index e6b1798..9c390c8 100644 --- a/dlls/mshtml/htmlinput.c +++ b/dlls/mshtml/htmlinput.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/htmlnode.c b/dlls/mshtml/htmlnode.c index 1633baa..e098a83 100644 --- a/dlls/mshtml/htmlnode.c +++ b/dlls/mshtml/htmlnode.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/htmloption.c b/dlls/mshtml/htmloption.c index 0c84989..73af3b0 100644 --- a/dlls/mshtml/htmloption.c +++ b/dlls/mshtml/htmloption.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/htmlscript.c b/dlls/mshtml/htmlscript.c index 5bf4a18..6c49af5 100644 --- a/dlls/mshtml/htmlscript.c +++ b/dlls/mshtml/htmlscript.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/htmlselect.c b/dlls/mshtml/htmlselect.c index 3a7faf8..3718e8a 100644 --- a/dlls/mshtml/htmlselect.c +++ b/dlls/mshtml/htmlselect.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/htmlstyle.c b/dlls/mshtml/htmlstyle.c index bf3cb4a..cb24831 100644 --- a/dlls/mshtml/htmlstyle.c +++ b/dlls/mshtml/htmlstyle.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/htmlstylesheet.c b/dlls/mshtml/htmlstylesheet.c index 236831e..b074c25 100644 --- a/dlls/mshtml/htmlstylesheet.c +++ b/dlls/mshtml/htmlstylesheet.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/htmltable.c b/dlls/mshtml/htmltable.c index ffef38a..66d55d0 100644 --- a/dlls/mshtml/htmltable.c +++ b/dlls/mshtml/htmltable.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/htmltextarea.c b/dlls/mshtml/htmltextarea.c index 5aaa9d4..64245e7 100644 --- a/dlls/mshtml/htmltextarea.c +++ b/dlls/mshtml/htmltextarea.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c index 63dbbc0..0f57069 100644 --- a/dlls/mshtml/htmlwindow.c +++ b/dlls/mshtml/htmlwindow.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/main.c b/dlls/mshtml/main.c index e69672f..0389833 100644 --- a/dlls/mshtml/main.c +++ b/dlls/mshtml/main.c @@ -20,8 +20,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> #include <stdio.h> @@ -30,7 +28,6 @@ #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "winreg.h" #include "ole2.h" #include "advpub.h" diff --git a/dlls/mshtml/olecmd.c b/dlls/mshtml/olecmd.c index afc3cc8..0b1b477 100644 --- a/dlls/mshtml/olecmd.c +++ b/dlls/mshtml/olecmd.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "shlguid.h" #include "mshtmdid.h" diff --git a/dlls/mshtml/selection.c b/dlls/mshtml/selection.c index 7de8adf..5eca8e3 100644 --- a/dlls/mshtml/selection.c +++ b/dlls/mshtml/selection.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "wine/debug.h" diff --git a/dlls/mshtml/txtrange.c b/dlls/mshtml/txtrange.c index df8ee55..72b9ce0 100644 --- a/dlls/mshtml/txtrange.c +++ b/dlls/mshtml/txtrange.c @@ -16,17 +16,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - #include <stdarg.h> -#include <stdio.h> #define COBJMACROS #include "windef.h" #include "winbase.h" #include "winuser.h" -#include "winnls.h" #include "ole2.h" #include "mshtmcid.h"
1
0
0
0
Jacek Caban : mshtml: Don't crash if nsWebBrowser could not be created.
by Alexandre Julliard
07 Apr '08
07 Apr '08
Module: wine Branch: master Commit: b024cd6de26174fd379efb769906b08c9d12f629 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b024cd6de26174fd379efb769…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Mon Apr 7 13:05:56 2008 +0200 mshtml: Don't crash if nsWebBrowser could not be created. --- dlls/mshtml/nsembed.c | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c index 5d9b247..e46b8fa 100644 --- a/dlls/mshtml/nsembed.c +++ b/dlls/mshtml/nsembed.c @@ -1602,14 +1602,17 @@ NSContainer *NSContainer_Create(HTMLDocument *doc, NSContainer *parent) ret->editor = NULL; ret->reset_focus = NULL; - if(parent) - nsIWebBrowserChrome_AddRef(NSWBCHROME(parent)); - ret->parent = parent; - nsres = nsIComponentManager_CreateInstanceByContractID(pCompMgr, NS_WEBBROWSER_CONTRACTID, NULL, &IID_nsIWebBrowser, (void**)&ret->webbrowser); - if(NS_FAILED(nsres)) + if(NS_FAILED(nsres)) { ERR("Creating WebBrowser failed: %08x\n", nsres); + heap_free(ret); + return NULL; + } + + if(parent) + nsIWebBrowserChrome_AddRef(NSWBCHROME(parent)); + ret->parent = parent; nsres = nsIWebBrowser_SetContainerWindow(ret->webbrowser, NSWBCHROME(ret)); if(NS_FAILED(nsres))
1
0
0
0
Jacek Caban : mshtml: Added IHTMLWindow2::get_navigator implementation.
by Alexandre Julliard
07 Apr '08
07 Apr '08
Module: wine Branch: master Commit: 9c352a11cc4425053b58ea978e6931e9e1cb11cc URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9c352a11cc4425053b58ea978…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Mon Apr 7 12:34:24 2008 +0200 mshtml: Added IHTMLWindow2::get_navigator implementation. --- dlls/mshtml/Makefile.in | 1 + dlls/mshtml/htmlwindow.c | 7 +- dlls/mshtml/mshtml_private.h | 1 + dlls/mshtml/omnavigator.c | 309 ++++++++++++++++++++++++++++++++++++++++++ dlls/mshtml/tests/dom.c | 25 ++++ 5 files changed, 341 insertions(+), 2 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=9c352a11cc4425053b58e…
1
0
0
0
Francois Gouget : services: Add a trailing '\n' to a couple of Wine traces.
by Alexandre Julliard
07 Apr '08
07 Apr '08
Module: wine Branch: master Commit: 1aa72f7e47607e6c553dcb4064cc16475ab0574b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=1aa72f7e47607e6c553dcb406…
Author: Francois Gouget <fgouget(a)free.fr> Date: Mon Apr 7 11:03:01 2008 +0200 services: Add a trailing '\n' to a couple of Wine traces. --- programs/services/rpc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/services/rpc.c b/programs/services/rpc.c index 63ce0d7..0adeb12 100644 --- a/programs/services/rpc.c +++ b/programs/services/rpc.c @@ -541,7 +541,7 @@ DWORD svcctl_ChangeServiceConfigW( if (!validate_service_config(&new_entry)) { - WINE_ERR("The configuration after the change wouldn't be valid"); + WINE_ERR("The configuration after the change wouldn't be valid\n"); service_unlock(service->service_entry); return ERROR_INVALID_PARAMETER; } @@ -1348,7 +1348,7 @@ DWORD RPC_MainLoop(void) if ((err = RpcServerRegisterIf(svcctl_v2_0_s_ifspec, 0, 0)) != ERROR_SUCCESS) { - WINE_ERR("RpcServerRegisterIf failed with error %u", err); + WINE_ERR("RpcServerRegisterIf failed with error %u\n", err); return err; }
1
0
0
0
Austin English : Spelling fixes.
by Alexandre Julliard
07 Apr '08
07 Apr '08
Module: wine Branch: master Commit: f4c4488df822b0d109998a99d8282b4d364b9ca9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f4c4488df822b0d109998a99d…
Author: Austin English <austinenglish(a)gmail.com> Date: Fri Apr 4 14:23:01 2008 -0500 Spelling fixes. --- dlls/ddraw/main.c | 2 +- dlls/ddraw/tests/visual.c | 8 ++++---- dlls/dplayx/dplayx_global.c | 2 +- dlls/iphlpapi/iphlpapi_main.c | 4 ++-- dlls/mapi32/prop.c | 6 +++--- dlls/mciseq/mcimidi.c | 2 +- dlls/mciwave/mciwave.c | 2 +- dlls/mpr/pwcache.c | 4 ++-- dlls/msadp32.acm/msadp32.c | 4 ++-- dlls/mshtml/editor.c | 2 +- dlls/mshtml/htmlnode.c | 2 +- dlls/mshtml/service.c | 2 +- dlls/mshtml/tests/htmldoc.c | 2 +- 13 files changed, 21 insertions(+), 21 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=f4c4488df822b0d109998…
1
0
0
0
Vitaliy Margolen : winex11: Properly report state of the caps-lock and num-lock and scroll-lock keys.
by Alexandre Julliard
07 Apr '08
07 Apr '08
Module: wine Branch: master Commit: bc325ac268ab0b99e1ce6d5012dd329cacb2357c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=bc325ac268ab0b99e1ce6d501…
Author: Vitaliy Margolen <wine-patches(a)kievinfo.com> Date: Sat Apr 5 23:36:55 2008 -0600 winex11: Properly report state of the caps-lock and num-lock and scroll-lock keys. --- dlls/winex11.drv/keyboard.c | 134 +++++++++++++++---------------------------- 1 files changed, 46 insertions(+), 88 deletions(-) diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c index f11a9ee..4be6336 100644 --- a/dlls/winex11.drv/keyboard.c +++ b/dlls/winex11.drv/keyboard.c @@ -1139,8 +1139,6 @@ static WORD EVENT_event_to_vkey( XIC xic, XKeyEvent *e) return keyc2vkey[e->keycode]; } -static BOOL NumState=FALSE, CapsState=FALSE; - /*********************************************************************** * X11DRV_send_keyboard_input @@ -1265,53 +1263,6 @@ void X11DRV_send_keyboard_input( WORD wVk, WORD wScan, DWORD dwFlags, DWORD time } -/********************************************************************** - * KEYBOARD_GenerateMsg - * - * Generate Down+Up messages when NumLock or CapsLock is pressed. - * - * Convention : called with vkey only VK_NUMLOCK or VK_CAPITAL - * - */ -static void KEYBOARD_GenerateMsg( WORD vkey, WORD scan, int Evtype, DWORD event_time ) -{ - BOOL * State = (vkey==VK_NUMLOCK? &NumState : &CapsState); - DWORD up, down; - - if (*State) { - /* The INTERMEDIARY state means : just after a 'press' event, if a 'release' event comes, - don't treat it. It's from the same key press. Then the state goes to ON. - And from there, a 'release' event will switch off the toggle key. */ - *State=FALSE; - TRACE("INTERM : don't treat release of toggle key. key_state_table[%#x] = %#x\n", - vkey,key_state_table[vkey]); - } else - { - down = (vkey==VK_NUMLOCK ? KEYEVENTF_EXTENDEDKEY : 0); - up = (vkey==VK_NUMLOCK ? KEYEVENTF_EXTENDEDKEY : 0) | KEYEVENTF_KEYUP; - if ( key_state_table[vkey] & 0x1 ) /* it was ON */ - { - if (Evtype!=KeyPress) - { - TRACE("ON + KeyRelease => generating DOWN and UP messages.\n"); - X11DRV_send_keyboard_input( vkey, scan, down, event_time, 0, 0 ); - X11DRV_send_keyboard_input( vkey, scan, up, event_time, 0, 0 ); - *State=FALSE; - key_state_table[vkey] &= ~0x01; /* Toggle state to off. */ - } - } - else /* it was OFF */ - if (Evtype==KeyPress) - { - TRACE("OFF + Keypress => generating DOWN and UP messages.\n"); - X11DRV_send_keyboard_input( vkey, scan, down, event_time, 0, 0 ); - X11DRV_send_keyboard_input( vkey, scan, up, event_time, 0, 0 ); - *State=TRUE; /* Goes to intermediary state before going to ON */ - key_state_table[vkey] |= 0x01; /* Toggle state to on. */ - } - } -} - /*********************************************************************** * KEYBOARD_UpdateOneState * @@ -1370,6 +1321,16 @@ void X11DRV_KeymapNotify( HWND hwnd, XEvent *event ) KEYBOARD_UpdateOneState( VK_SHIFT, shift, time ); } +static void update_lock_state(BYTE vkey, WORD scan, DWORD time) +{ + DWORD flags = vkey == VK_NUMLOCK ? KEYEVENTF_EXTENDEDKEY : 0; + + if (key_state_table[vkey] & 0x80) flags ^= KEYEVENTF_KEYUP; + + X11DRV_send_keyboard_input( vkey, scan, flags, time, 0, 0 ); + X11DRV_send_keyboard_input( vkey, scan, flags ^ KEYEVENTF_KEYUP, time, 0, 0 ); +} + /*********************************************************************** * X11DRV_KeyEvent * @@ -1443,47 +1404,44 @@ void X11DRV_KeyEvent( HWND hwnd, XEvent *xev ) TRACE_(key)("keycode 0x%x converted to vkey 0x%x\n", event->keycode, vkey); - if (vkey) - { - switch (vkey & 0xff) - { - case VK_NUMLOCK: - KEYBOARD_GenerateMsg( VK_NUMLOCK, 0x45, event->type, event_time ); - break; - case VK_CAPITAL: - TRACE("Caps Lock event. (type %d). State before : %#.2x\n",event->type,key_state_table[vkey]); - KEYBOARD_GenerateMsg( VK_CAPITAL, 0x3A, event->type, event_time ); - TRACE("State after : %#.2x\n",key_state_table[vkey]); - break; - default: - /* Adjust the NUMLOCK state if it has been changed outside wine */ - if (!(key_state_table[VK_NUMLOCK] & 0x01) != !(event->state & NumLockMask)) - { - TRACE("Adjusting NumLock state.\n"); - KEYBOARD_GenerateMsg( VK_NUMLOCK, 0x45, KeyPress, event_time ); - KEYBOARD_GenerateMsg( VK_NUMLOCK, 0x45, KeyRelease, event_time ); - } - /* Adjust the CAPSLOCK state if it has been changed outside wine */ - if (!(key_state_table[VK_CAPITAL] & 0x01) != !(event->state & LockMask)) - { - TRACE("Adjusting Caps Lock state.\n"); - KEYBOARD_GenerateMsg( VK_CAPITAL, 0x3A, KeyPress, event_time ); - KEYBOARD_GenerateMsg( VK_CAPITAL, 0x3A, KeyRelease, event_time ); - } - /* Not Num nor Caps : end of intermediary states for both. */ - NumState = FALSE; - CapsState = FALSE; + if (!vkey) return; + + dwFlags = 0; + if ( event->type == KeyRelease ) dwFlags |= KEYEVENTF_KEYUP; + if ( vkey & 0x100 ) dwFlags |= KEYEVENTF_EXTENDEDKEY; + - bScan = keyc2scan[event->keycode] & 0xFF; - TRACE_(key)("bScan = 0x%02x.\n", bScan); + /* Note: X sets the below states on key down and clears them on key up. + Windows triggers them on key down. */ - dwFlags = 0; - if ( event->type == KeyRelease ) dwFlags |= KEYEVENTF_KEYUP; - if ( vkey & 0x100 ) dwFlags |= KEYEVENTF_EXTENDEDKEY; + /* Adjust the CAPSLOCK state if it has been changed outside wine */ + if (!(key_state_table[VK_CAPITAL] & 0x01) != !(event->state & LockMask) && + vkey != VK_CAPITAL) + { + TRACE("Adjusting CapsLock state (%#.2x)\n", key_state_table[VK_CAPITAL]); + update_lock_state(VK_CAPITAL, 0x3A, event_time); + } + + /* Adjust the NUMLOCK state if it has been changed outside wine */ + if (!(key_state_table[VK_NUMLOCK] & 0x01) != !(event->state & NumLockMask) && + (vkey & 0xff) != VK_NUMLOCK) + { + TRACE("Adjusting NumLock state (%#.2x)\n", key_state_table[VK_NUMLOCK]); + update_lock_state(VK_NUMLOCK, 0x45, event_time); + } - X11DRV_send_keyboard_input( vkey & 0xff, bScan, dwFlags, event_time, 0, 0 ); + /* Adjust the SCROLLLOCK state if it has been changed outside wine */ + if (!(key_state_table[VK_SCROLL] & 0x01) != !(event->state & ScrollLockMask) && + vkey != VK_SCROLL) + { + TRACE("Adjusting ScrLock state (%#.2x)\n", key_state_table[VK_SCROLL]); + update_lock_state(VK_SCROLL, 0x46, event_time); } - } + + bScan = keyc2scan[event->keycode] & 0xFF; + TRACE_(key)("bScan = 0x%02x.\n", bScan); + + X11DRV_send_keyboard_input( vkey & 0xff, bScan, dwFlags, event_time, 0, 0 ); } /**********************************************************************
1
0
0
0
Vitaliy Margolen : winex11: Get the ScrollLock mask.
by Alexandre Julliard
07 Apr '08
07 Apr '08
Module: wine Branch: master Commit: b4d99eebbbca50263a083e0bea602781762179b2 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b4d99eebbbca50263a083e0be…
Author: Vitaliy Margolen <wine-patches(a)kievinfo.com> Date: Sun Apr 6 08:25:38 2008 -0600 winex11: Get the ScrollLock mask. --- dlls/winex11.drv/keyboard.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c index 8bb5717..f11a9ee 100644 --- a/dlls/winex11.drv/keyboard.c +++ b/dlls/winex11.drv/keyboard.c @@ -87,7 +87,7 @@ static BYTE TrackSysKey = 0; /* determine whether ALT key up will cause a WM_SYS static int min_keycode, max_keycode, keysyms_per_keycode; static WORD keyc2vkey[256], keyc2scan[256]; -static int NumLockMask, AltGrMask; /* mask in the XKeyEvent state */ +static int NumLockMask, ScrollLockMask, AltGrMask; /* mask in the XKeyEvent state */ static char KEYBOARD_MapDeadKeysym(KeySym keysym); @@ -1641,6 +1641,11 @@ void X11DRV_InitKeyboard( Display *display ) NumLockMask = 1 << i; TRACE_(key)("NumLockMask is %x\n", NumLockMask); } + else if (XKeycodeToKeysym(display, *kcp, k) == XK_Scroll_Lock) + { + ScrollLockMask = 1 << i; + TRACE_(key)("ScrollLockMask is %x\n", ScrollLockMask); + } } } XFreeModifiermap(mmp);
1
0
0
0
Dmitry Timoshkov : winex11: Change the priority of evaluated window styles to workaround a Metacity bug with handling of utility windows .
by Alexandre Julliard
07 Apr '08
07 Apr '08
Module: wine Branch: master Commit: 751a71a0449e44a603894fa7e8b6dc27fb31c014 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=751a71a0449e44a603894fa7e…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Mon Apr 7 13:37:44 2008 +0900 winex11: Change the priority of evaluated window styles to workaround a Metacity bug with handling of utility windows. --- dlls/winex11.drv/window.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 62f215c..919879a 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -944,10 +944,10 @@ void X11DRV_set_wm_hints( Display *display, struct x11drv_win_data *data ) /* set the WM_WINDOW_TYPE */ window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_NORMAL); - if (ex_style & WS_EX_TOOLWINDOW) window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_UTILITY); - else if (style & WS_THICKFRAME) window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_NORMAL); + if (style & WS_THICKFRAME) window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_NORMAL); else if (style & WS_DLGFRAME) window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_DIALOG); else if (ex_style & WS_EX_DLGMODALFRAME) window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_DIALOG); + else if (ex_style & WS_EX_TOOLWINDOW) window_type = x11drv_atom(_NET_WM_WINDOW_TYPE_UTILITY); XChangeProperty(display, data->whole_window, x11drv_atom(_NET_WM_WINDOW_TYPE), XA_ATOM, 32, PropModeReplace, (unsigned char*)&window_type, 1);
1
0
0
0
← Newer
1
...
101
102
103
104
105
106
107
...
128
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
Results per page:
10
25
50
100
200