Re: d3d8: Silence implicit enum conversion warnings for D3DFormat (clang) - please discard

2011-05-18 Thread Frédéric Delanoy
Please discard this patch. An updated version follows.

Re: [PATCH] winex11: Make GetCursorPos respect clipping and virtual screen size.

2011-05-18 Thread Alexandre Julliard
Lauri Kenttä writes: > So is it then possible to clip the cursor to the virtual desktop in > the wineserver, or do you see some apparent problem there? I would be > surprised if this was the only application to choke on strange mouse > coordinates. It's possible, but it's not clear that it's des

Re: [PATCH] winex11: Make GetCursorPos respect clipping and virtual screen size.

2011-05-18 Thread Lauri Kenttä
On Wed, 18 May 2011 12:22:57 +0200, Alexandre Julliard wrote: The clip rectangle is only valid while the pointer is grabbed, in which case the cursor pos will be clipped already. That's true. I only tested the other case. So for the case where the pointer is not grabbed (for instance if yo

Re: [PATCH] winex11: Make GetCursorPos respect clipping and virtual screen size.

2011-05-18 Thread Alexandre Julliard
Lauri Kenttä writes: > On Wed, 18 May 2011 10:57:24 +0200, Alexandre Julliard wrote: >> >> That won't really do what you want. Why do you need this? > > Then what does it do wrong? It seems to do exactly what I want and > mostly what Windows does. The clip rectangle is only valid while the point

Re: [PATCH] dinput: Move the c_df* data format constants to the dxguid static library, mark as hidden

2011-05-18 Thread Alexandre Julliard
Marcus Meissner writes: > --- > dlls/dinput/Makefile.in|1 - > dlls/dinput/data_formats.c | 566 > > dlls/dxguid/dxguid.c | 545 ++ > 3 files changed, 545 insertions(+), 567 deletions(-) > dele

Re: [PATCH] winex11: Make GetCursorPos respect clipping and virtual screen size.

2011-05-18 Thread Alexandre Julliard
Lauri Kenttä writes: > @@ -1245,8 +1245,17 @@ BOOL CDECL X11DRV_GetCursorPos(LPPOINT pos) > if (ret) > { > POINT old = *pos; > +RECT clip = clipping_cursor ? clip_rect : virtual_screen_rect; > pos->x = winX + virtual_screen_rect.left; > pos->y = winY +